[Users] vzmigrate to /vz2 instead of /vz

Nick Knutov mail at knutov.com
Thu Sep 11 17:51:19 PDT 2014


I'm not good enough with such openvz internals and was hoped there is
ready solution. I found https://openvz.org/Vzmigrate_filesystem_aware
but it is for older version of vzmigrate.

Yes, I tried symlink and

1) /vz2 -> /vz2 as symlink on /vz and back
and I have changed private/root paths in CT conf after
vzmigrate+vzmigrate back and files was not removed after second
vzmigrate (from node where symlink was).

2) /vz -> /vz2
looks ok but I have to change pathes in CT config after so CT should be
restarted with downtime.

So, all this does not look good. May be it can be better with mount
--bind, but this is also not a good way.



12.09.2014 5:33, Devon B. пишет:
> On 9/11/2014 7:00 PM, Nick Knutov wrote:
>> I have old server with usual disks and new server with two ssd which are
>> smaller size. I have /vz on one disk and /vz2 on another.
>>
>> I want to live migrate CTs from the old server to specified partition on
>> the new server but I can't find how to do it. Does anybody know?
>>
> You could get dirty and do it manually with ploop send and
> checkpointing.  However, have you tried just using a symlink from
> /vz/private/VEID to /vz2/private/VEID?


-- 
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130


More information about the Users mailing list