Re: single directory without quota in VE [message #32951 is a reply to message #32938] |
Wed, 10 September 2008 13:06 |
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
|
|
|