Hi Scott,
You are correct, /etc/mtab was not a symlink. I deleted it and created
a symlink but when I restart the container it's back to a normal file
again:
[root@va-webdav /]# rm -rf /etc/mtab
[root@va-webdav /]# ln -s /proc/mounts /etc/mtab
[root@va-webdav /]# ls -l /etc/mtab
lrwxrwxrwx 1 root root 12 Jun 27 12:37 /etc/mtab -> /proc/mounts
[root@va-webdav /]# init 6
[root@va-webdav /]# got signal 15
exited from CT 233
[root@lnxsvr2 ~]# vzenter 233
entered into CT 233
[root@va-webdav /]# df -h
Filesystem Size Used Avail Use% Mounted on
[root@va-webdav /]# ls -l /etc/mtab
-rw-r--r-- 1 root root 77 Jun 27 12:38 /etc/mtab
Thanks,
Marc
On Wed, Jun 22, 2011 at 5:26 PM, Scott Dowdle <[email protected]> wrote:
> Marc,
>
> ----- Original Message -----
>> [root@va-box /]# df
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> [root@va-box /]# mount
>> none on /dev/pts type devpts (rw)
>> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
>> [root@va-box /]#
>
> As kir pointed out... if /etc/mtab is not a symlink to /proc/mounts, make it
> one and it'll probably work for you again.
>
> TYL,
> --
> Scott Dowdle
> 704 Church Street
> Belgrade, MT 59714
> (406)388-0827 [home]
> (406)994-3931 [work]
> _______________________________________________
> Users mailing list
> [email protected]
> https://openvz.org/mailman/listinfo/users
>
--
Marc Peiser
IT Matter cc
Tel : 071 678 5368
Fax : 086 602 2880
Email : [email protected]
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users