<div dir="ltr"><div class="gmail_extra">I don't understand, under my /etc/ there's no directory named as hosts ....</div><div class="gmail_extra"><br></div><div class="gmail_extra">I install <a href="http://docker.io">docker.io</a> through apt-get. <br>
<br><div class="gmail_quote">On Tue, May 13, 2014 at 11:35 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 05/13/2014 07:32 PM, Bing X wrote:<br>
> As it's clear in the hierarchy, I have 3 docker containers running under <a href="http://docker.io" target="_blank">docker.io</a><br>
</div>> <<a href="http://docker.io" target="_blank">http://docker.io</a>>; for 2 of them, the ssh connected, one is bash (local container)..<br>
<div>><br>
> All of these images stored under /var/lib/docker/graph/<br>
><br>
> but why I couldn't successfully dump any of them? Please help me take a look.<br>
<br>
</div>Check the criu's log files, the dump errors are written into it.<br>
<br>
> thanks!<br>
<div>><br>
><br>
> On Mon, May 12, 2014 at 7:37 PM, Bing X <<a href="mailto:xiebingbing@gmail.com" target="_blank">xiebingbing@gmail.com</a> <mailto:<a href="mailto:xiebingbing@gmail.com" target="_blank">xiebingbing@gmail.com</a>>> wrote:<br>
><br>
> I am running two docker containers with ssh service under /root. in one of containers,<br>
> I run a IOR benchmark, which is live, and which is the one I want to dump.<br>
><br>
> what are the mountpoints visible by it? --- what's this mean?<br>
<br>
</div>Linux allows to create so called mount points in the FS tree. Different processes<br>
may see different mount points. In your case the docker container sees that the<br>
/etc/hosts file is a mount point with external source. What is it?<br>
<div><br>
> here's the pid hierarchical structure:<br>
</div>> 2569 ? Sl 0:12 \_ /usr/bin/<a href="http://docker.io" target="_blank">docker.io</a> <<a href="http://docker.io" target="_blank">http://docker.io</a>> -d<br>
<div>> 5984 ? Ss 0:00 \_ /bin/sh -c /usr/sbin/sshd -D<br>
> 6016 ? S 0:00 | \_ /usr/sbin/sshd -D<br>
> 12551 ? Ss 0:02 | \_ sshd: root@notty<br>
> 12563 ? Ss 0:00 | \_ bash -c cd /root/io_run; bash ./run.sh<br>
> 12564 ? S 0:00 | \_ bash ./run.sh<br>
> 14105 ? S 0:00 | \_ mpirun ./IOR -w -z -e -f ./parameter.script<br>
> 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<br>
> 14107 ? S 0:00 | \_ ./IOR -w -z -e -f ./parameter.script<br>
> 9017 ? Ss 0:00 \_ /bin/sh -c /usr/sbin/sshd -D<br>
> 9034 ? S 0:00 \_ /usr/sbin/sshd -D<br>
><br>
><br>
><br>
><br>
</div><div><div>> On Mon, May 12, 2014 at 7:29 PM, Pavel Emelyanov <<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a> <mailto:<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>>> wrote:<br>
><br>
> On 05/13/2014 03:13 AM, Bing X wrote:<br>
> > What does it mean: I run criu dump with a pid I assume it is a container process, but get an error as:<br>
> ><br>
> > Error (mount.c:356): 119:./etc/hosts doesn't have a proper root mount<br>
> > Error (cr-dump.c:1870): Dumping FAILED.<br>
> ><br>
> > what I should change?<br>
><br>
> The /etc/hosts is bind-mounted file and source of it sits out of<br>
> the scope of what you dump.<br>
><br>
> Please, describe your setup -- what app do you dump, in what namespaces<br>
> does it live and what are the mountpoints visible by it?<br>
><br>
> Thanks,<br>
> Pavel<br>
><br>
><br>
><br>
><br>
> --<br>
> Thanks<br>
> Bing<br>
><br>
><br>
><br>
><br>
> --<br>
> Thanks<br>
> Bing<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Thanks</div><div>Bing</div>
</div></div>