[CRIU] LXC dump shared mount error
John Statham
johnstathm11 at gmail.com
Fri Nov 28 23:30:22 PST 2014
This is of host
/sdcard # cat /proc/self/mountinfo
1 1 0:2 / / rw - rootfs rootfs rw,size=203948k,nr_inodes=50987
10 1 0:4 / /proc rw,relatime - proc proc rw
11 1 0:11 / /sys rw,relatime - sysfs sysfs rw
12 11 0:12 / /sys/fs/cgroup rw,relatime - cgroup none
rw,cpuset,debug,cpu,cpuacct,memory,devices,freezer,blkio,perf_event,clone_children
13 11 0:6 / /sys/kernel/debug rw,relatime - debugfs none rw
14 1 0:10 / /dev/pts rw,relatime - devpts devpts rw,mode=600,ptmxmode=000
15 1 179:0 / /sdcard rw,relatime - ext4 /dev/mmcblk0 rw,data=ordered
This is of container
/sdcard # lxc-attach -n L cat /proc/self/mountinfo
17 17 0:2 / / rw - rootfs rootfs rw,size=203948k,nr_inodes=50987
18 17 0:4 / /proc rw,relatime - proc proc rw
19 17 0:11 / /sys rw,relatime - sysfs sysfs rw
20 19 0:12 / /sys/fs/cgroup rw,relatime - cgroup none
rw,cpuset,debug,cpu,cpuacct,memory,devices,freezer,blkio,perf_event,clone_children
21 19 0:6 / /sys/kernel/debug rw,relatime - debugfs none rw
22 17 0:10 / /dev/pts rw,relatime - devpts devpts rw,mode=600,ptmxmode=000
23 17 179:0 / /sdcard rw,relatime - ext4 /dev/mmcblk0 rw,data=ordered
24 17 0:2 /usr/local/lib/lxc/rootfs /usr/local/lib/lxc/rootfs rw -
rootfs rootfs rw,size=203948k,nr_inodes=50987
25 24 0:14 / /usr/local/lib/lxc/rootfs rw,relatime - tmpfs none
rw,size=12k,mode=755
35 25 179:0 /L/rootfs /usr/local/lib/lxc/rootfs/root rw,relatime
shared:1 - ext4 /dev/mmcblk0 rw,data=ordered
36 35 0:13 / /usr/local/lib/lxc/rootfs/root/proc rw,relatime shared:2
- proc none rw
37 35 0:15 / /usr/local/lib/lxc/rootfs/root/sys rw,relatime shared:3 -
sysfs none rw
38 35 0:2 /dev /usr/local/lib/lxc/rootfs/root/dev rw,relatime shared:6
- rootfs rootfs rw,size=203948k,nr_inodes=50987
39 38 0:10 /1 /usr/local/lib/lxc/rootfs/root/dev/console rw,relatime
shared:7 - devpts devpts rw,mode=600,ptmxmode=000
26 38 0:16 / /usr/local/lib/lxc/rootfs/root/dev rw,nosuid,relatime
shared:8 - tmpfs tmpfs rw,mode=755
27 26 0:10 / /usr/local/lib/lxc/rootfs/root/dev/pts rw,relatime
shared:9 - devpts devpts rw,mode=600,ptmxmode=000
28 37 0:6 / /usr/local/lib/lxc/rootfs/root/sys/kernel/debug
rw,relatime shared:4 - debugfs debugfs rw
29 37 0:17 / /usr/local/lib/lxc/rootfs/root/sys/fs/cgroup rw,relatime
shared:5 - tmpfs none rw,mode=750,gid=1000
30 35 0:18 / /usr/local/lib/lxc/rootfs/root/mnt/asec rw,relatime
shared:10 - tmpfs tmpfs rw,mode=755,gid=1000
31 35 0:19 / /usr/local/lib/lxc/rootfs/root/mnt/obb rw,relatime
shared:11 - tmpfs tmpfs rw,mode=755,gid=1000
32 35 31:0 / /usr/local/lib/lxc/rootfs/root/system ro,relatime
shared:12 - ext4 /dev/block/mtdblock0 ro,data=ordered
33 35 31:1 / /usr/local/lib/lxc/rootfs/root/data
rw,nosuid,nodev,noatime shared:13 - ext4 /dev/block/mtdblock1
rw,data=ordered
34 35 31:2 / /usr/local/lib/lxc/rootfs/root/cache
rw,nosuid,nodev,noatime shared:14 - yaffs2 /dev/block/mtdblock2 rw
On 11/28/14, Andrew Vagin <avagin at parallels.com> wrote:
> On Fri, Nov 28, 2014 at 05:05:19PM +0530, John Statham wrote:
>> I am getting problem in dumping lxc container. It says
>> "Error (mount.c:517): Mount 58 (master_id: 12 shared_id: 0) has
>> unreachable
>> sharing"
>> When i searched for it on internet i found that this is already mentioned
>> in
>> http://criu.org/LXC
>> How do i resolve this error?.Do i need to make changes in CRIU or LXC
>> code? If
>> yes where should i make those changes?
>> Thanks.
>
> Could you show /proc/self/mountinfo from host and CT?
>
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu
>
>
More information about the CRIU
mailing list