Stale mtab entries following stop [message #37066] |
Mon, 17 August 2009 08:35 |
laotse
Messages: 35 Registered: December 2008
|
Member |
|
|
I have a couple of containers, which use the mount/unmount action scripts to mount physical partitions into the root file system, e.g.
mkdir -p /var/lib/vz/root/1005/srv/mail
mount -t xfs /dev/r5/mail /var/lib/vz/root/1005/srv/mail
umount /var/lib/vz/root/1005/srv/mail
However, following a vzctl stop the device is unmounted, but it is still listed in /etc/mtab. And each time I cycle the container, another instance pops up.
If I unmount the device manually with the VE stopped, umount moans that the device is not mounted, but all entries are removed at once.
Any idea, what might cause this?
[Updated on: Mon, 17 August 2009 08:36] Report message to a moderator
|
|
|