Hello,
I have converted some openvz containers to ploop from simfs, but inside the openvz container its still showing as simfs.
[root@ovzashb1 ~]# vzlist -o layout 162
LAYOUT
ploop
[root@ovzashb1 ~]# vzctl exec 162 df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 7.9G 4.3G 3.2G 58% /
none 64M 4.0K 64M 1% /dev
I have checked /proc/mounts and thats showing as a ploop device
[root@ovzashb1 ~]# vzctl exec 162 cat /proc/mounts
/dev/ploop22565p1 / ext4 rw,relatime,barrier=1,data=ordered,balloon_ino=12 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /dev devtmpfs rw,relatime,mode=755 0 0
none /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
I have noticed that /etc/mtab is showing as simfs
[root@ovzashb1 ~]# vzctl exec 162 cat /etc/mtab
/dev/simfs / reiserfs rw,usrquota,grpquota 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /dev devtmpfs rw,relatime,mode=755 0 0
none /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
I have tried to simlink the /etc/mtab to /proc/mounts but the mtab is getting reset back to simfs
Any help would be grateful
Thanks