OpenVZ Forum


Home » General » Support » difference between /vz/private/ and /vz/root/ ? [Solved]
Re: difference between /vz/private/ and /vz/root/ ? [message #20506 is a reply to message #20502] Wed, 19 September 2007 10:35 Go to previous messageGo to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
piavlo wrote on Wed, 19 September 2007 13:53

Ok now that i stopped VE i see that /vz/root/<VEID> is empty and not hard liked to /vz/private/<VEID> anymore.
This means i can just move /vz/private/<VEID> to separate partition ,on the same HN, while VE is stopped.

Quote:

If you want to move VE files from HN to some other place it's better to avoid /vz/private using and handle /vz/root directory.

I did not get the meaning of this comment, could you please
elaborate?



It's disk-quota related issue.

I would note that disk quota is calculated on /vz/private/<VEID> subtree. However it's able to track the operation only if VE is mounted. Quota is initialized on the first VE mount -- it is relative log procedure. When VE unmounts the collected quota information is saved to special file that reads again on the next VE start.

However if you have changed something inside private area where VE was unmounted, it makes inconsistent the quota information saved in file. Unfortunately we will know nothing about this fact and quota will show incorrect values when VE will be started again.

Thank you,
Vasily Averin
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I get OpenVZ now, but what about NFS support?
Next Topic: FTP login problem
Goto Forum:
  


Current Time: Sat Aug 16 17:27:46 GMT 2025

Total time taken to generate the page: 0.16265 seconds