Re: [lxc-devel] [CRIU] LXC live migrate

2013-11-27 Thread Pavel Emelyanov
On 11/27/2013 06:19 AM, Qiang Huang wrote: On 2013/11/27 0:19, Marian Marinov wrote: On my test setup it works for processes like apache, dovecot and mysql. However it does not work with containers: root@s321:~# criu dump -D deb1 -t 19332 --file-locks (00.004962) Error (namespaces.c:155):

Re: [lxc-devel] [CRIU] LXC live migrate

2013-11-27 Thread Marian Marinov
On 11/27/2013 10:54 AM, Pavel Emelyanov wrote: On 11/27/2013 06:19 AM, Qiang Huang wrote: On 2013/11/27 0:19, Marian Marinov wrote: On my test setup it works for processes like apache, dovecot and mysql. However it does not work with containers: root@s321:~# criu dump -D deb1 -t 19332

Re: [lxc-devel] [CRIU] LXC live migrate

2013-11-27 Thread Daniel Lezcano
On 11/27/2013 09:54 AM, Pavel Emelyanov wrote: On 11/27/2013 06:19 AM, Qiang Huang wrote: On 2013/11/27 0:19, Marian Marinov wrote: On my test setup it works for processes like apache, dovecot and mysql. However it does not work with containers: root@s321:~# criu dump -D deb1 -t 19332

Re: [lxc-devel] [CRIU] LXC live migrate

2013-11-27 Thread Pavel Emelyanov
On 11/27/2013 01:18 PM, Marian Marinov wrote: I rebooted the container without getty on tty1 and then I got this: (00.260757) Error (mount.c:255): 86:/dev/tty4 doesn't have a proper root mount This is the reason. That's container's console which is a bind mounted tty from the host. And

Re: [lxc-devel] [CRIU] LXC live migrate

2013-11-27 Thread Pavel Emelyanov
On 11/27/2013 01:58 PM, Daniel Lezcano wrote: On 11/27/2013 09:54 AM, Pavel Emelyanov wrote: On 11/27/2013 06:19 AM, Qiang Huang wrote: On 2013/11/27 0:19, Marian Marinov wrote: On my test setup it works for processes like apache, dovecot and mysql. However it does not work with containers: