[Users] vzmigrate to /vz2 instead of /vz

2014-09-11 Thread Nick Knutov
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? -- Best Regards, Nick

Re: [Users] vzmigrate to /vz2 instead of /vz

2014-09-11 Thread 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

Re: [Users] vzmigrate to /vz2 instead of /vz

2014-09-11 Thread Nick Knutov
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

Re: [Users] vzmigrate to /vz2 instead of /vz

2014-09-11 Thread Devon B.
Like I said though, use a symlink per VE, not the entire vz2/vz directory. Then you won't have to change anything in the config. Just create a symlink for the virtual servers you want on the second SSD prior to migrating. mkdir /vz2/private/VEID ln -s /vz2/private/VEID /vz/private/VEID

Re: [Users] vzmigrate to /vz2 instead of /vz

2014-09-11 Thread Nick Knutov
I did exactly so. Migration to symlink is working. And CT is running ok after. But private/root paths are rewritten after migration to /vz + for simfs with billions small files running CT from symlink can be slower. Migration from symlink is also working. With the same issues plus source folder

Re: [Users] vzmigrate to /vz2 instead of /vz

2014-09-11 Thread Devon B.
Shouldn't be millions of small files with ploop. Should just be the one: root.hdd. Where it is mounted shouldn't matter (VE_ROOT). On 9/11/2014 9:57 PM, Nick Knutov wrote: I did exactly so. Migration to symlink is working. And CT is running ok after. But private/root paths are rewritten

Re: [Users] vzmigrate to /vz2 instead of /vz

2014-09-11 Thread Nick Knutov
There are cases when simfs is better solution. We have such cases. Any way, the other problems remain. 12.09.2014 8:56, Devon B. пишет: Shouldn't be millions of small files with ploop. Should just be the one: root.hdd. Where it is mounted shouldn't matter (VE_ROOT). On 9/11/2014 9:57 PM,