[Lxc-users] mounted filesystems inconsistency

Milos Negovanovic milos.negovanovic at gmail.com
Thu Mar 31 09:41:59 UTC 2011


Hi all,

I have 3 identical LXC setups, 2 of which are sandboxes on different
workstations and one is live environment. All 3 run Arch linux on host
and inside the container.

On one of the sandboxes output of mount after the container is started,
from inside the container looks like this:

[root at node1 spiked]# mount
/dev/sda2[/home/stuff/lxc/node1.spiked.uk.com] on / type reiserfs (rw,relatime)
devpts[/13] on /dev/console type devpts (ro)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=1017469,mode=755)


On other two LXC setups mount doesn't show anything! All 3 share the same
configuration files and run last released LXC: 0.7.4.1.

Any idea what might be happening?

I only noticed it when after I restarted the container with the above
mount output, devpts was re monted read only on the host.

This is the config:

root at box ~ # cat /etc/lxc/node1.spiked.uk.com
lxc.utsname = node1.spiked.uk.com

lxc.pts = 1024

lxc.mount = /etc/lxc/node1.spiked.uk.com_fstab
lxc.rootfs = /home/stuff/lxc/node1.spiked.uk.com

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.hwaddr = 52:54:00:00:16:79
lxc.network.ipv4 = 10.63.74.97
lxc.network.name = eth0
root at box ~ # cat /etc/lxc/node1.spiked.uk.com_fstab 
none /home/stuff/lxc/node1.spiked.uk.com/dev/pts devpts defaults 0 0
none /home/stuff/lxc/node1.spiked.uk.com/proc    proc   defaults 0 0
none /home/stuff/lxc/node1.spiked.uk.com/sys     sysfs  defaults 0 0
none /home/stuff/lxc/node1.spiked.uk.com/dev/shm tmpfs  defaults 0 0

Regards
-- 
Milos Negovanovic
milos.negovanovic at gmail.com




More information about the lxc-users mailing list