OpenVZ Forum


Home » General » Support » Stale mtab entries following stop
Stale mtab entries following stop [message #37066] Mon, 17 August 2009 08:35 Go to previous message
laotse is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Howto clear beancounters of migrated CTs
Next Topic: Can't checkpoint container
Goto Forum:
  


Current Time: Mon Jul 15 03:47:55 GMT 2024

Total time taken to generate the page: 0.02297 seconds