[CRIU] how to lively migration a vm container?

Bing X xiebingbing at gmail.com
Mon May 12 16:37:36 PDT 2014


I am running two docker containers with ssh service under /root. in one of
containers, I run a IOR benchmark, which is live, and which is the one I
want to dump.

what are the mountpoints visible by it? --- what's this mean?

here's the pid hierarchical structure:
2569 ?        Sl     0:12  \_ /usr/bin/docker.io -d
 5984 ?        Ss     0:00      \_ /bin/sh -c /usr/sbin/sshd -D
 6016 ?        S      0:00      |   \_ /usr/sbin/sshd -D
12551 ?        Ss     0:02      |       \_ sshd: root at notty
12563 ?        Ss     0:00      |           \_ bash -c cd /root/io_run;
bash ./run.sh
12564 ?        S      0:00      |               \_ bash ./run.sh
14105 ?        S      0:00      |                   \_ mpirun ./IOR -w -z
-e -f ./parameter.script
14106 ?        S      0:00      |                       \_
/usr/bin/hydra_pmi_proxy --control-port 280bce53d979:54710 --rmk user
--launcher ssh --demux poll --pgid 0 --retries 10 --proxy-id 0
14107 ?        S      0:00      |                           \_ ./IOR -w -z
-e -f ./parameter.script
 9017 ?        Ss     0:00      \_ /bin/sh -c /usr/sbin/sshd -D
 9034 ?        S      0:00          \_ /usr/sbin/sshd -D




On Mon, May 12, 2014 at 7:29 PM, Pavel Emelyanov <xemul at parallels.com>wrote:

> On 05/13/2014 03:13 AM, Bing X wrote:
> > What does it mean: I run criu dump with a pid I assume it is a container
> process, but get an error as:
> >
> > Error (mount.c:356): 119:./etc/hosts doesn't have a proper root mount
> > Error (cr-dump.c:1870): Dumping FAILED.
> >
> > what I should change?
>
> The /etc/hosts is bind-mounted file and source of it sits out of
> the scope of what you dump.
>
> Please, describe your setup -- what app do you dump, in what namespaces
> does it live and what are the mountpoints visible by it?
>
> Thanks,
> Pavel
>



-- 
Thanks
Bing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140512/44f53004/attachment-0001.html>


More information about the CRIU mailing list