OpenVZ Forum


Home » General » Support » Stale mtab entries following stop
Re: Stale mtab entries following stop [message #37122 is a reply to message #37066] Wed, 19 August 2009 13:39 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
I can only guess what was the real reason but I think I know what it could be.

Most of VEs contain /etc/mtab as a symlink to /proc/mounts. You can manually do it for this particular VE.

A VE's mount script which is supposed to mount a partition put an appropriate information to /etc/mtab. When a VE is going to be stopped, one of the init-scripts have to umount all mounted filesystems gracefully. Perhaps it umounted all filesystems indeed but somehow missed to clear /etc/mtab.
IMHO you must not create an umount script because all filesystems have to be umounted by init-scripts (like it happen on a standalonw computer).
So, I'd recommend you to delete umount script and check if init-scripts umount all filesystem gracefully or you can mount a partition with a "-n" option.
 
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 04:05:57 GMT 2024

Total time taken to generate the page: 0.02290 seconds