OpenVZ Forum


Home » General » Support » single directory without quota in VE
Re: single directory without quota in VE [message #32951 is a reply to message #32938] Wed, 10 September 2008 13:06 Go to previous message
Alex Prinsier is currently offline  Alex Prinsier
Messages: 16
Registered: January 2007
Junior Member
I ended up patching the vzmigrate script, so that it supports a "migrate" script per VE, just like the mount/umount scripts. It's run after syncing the private area of the VE, and in case of online migration, also after the 2nd pass.

This way, I could put an rsync command into the custom /etc/vz/conf/$VEID.migrate script to sync a directory from the source to destination hardware node, the directory that was bind mounted. (in the mount script).

Wouldn't this be a nice addition to openvz?

Edit: little fix in the patch so that it first checks if a migrate script exists before trying to use it.

[Updated on: Wed, 10 September 2008 13:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: install webvz 2 0 on debian etch to manage openvz
Next Topic: modprobe fuse problem
Goto Forum:
  


Current Time: Sun Aug 11 19:57:23 GMT 2024

Total time taken to generate the page: 0.02885 seconds