Re: Stale mtab entries following stop [message #37274 is a reply to message #37266] |
Sun, 30 August 2009 13:25 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
laotse
Messages: 35 Registered: December 2008
|
Member |
|
|
maratrus wrote on Sun, 30 August 2009 12:37 | does information about /dev/mapper/r5-mail is listed in /proc/mounts when VE is running?
|
Yes, it's listed in both the VE and the node.
To summarize your hypothesis this is what presumably happens:
- The mount script running in the node's context mounts the drive and writes the record to the mtab of the node.
- When the VE is brought down, the init scripts unmount the drive in VE context, since it appears in /proc/mounts = /etc/mtab of the VE.
- When the unmount script in node context is run, the drive is already unmounted and umount fails, so the record stays in the mtab of the node.
What I still do not understand, is why all stale entries in the node's mtab disappear, when I manually unmount the drive while the VE is down. Can anyone imagine, what's the difference in the unmount script context and a root shell with the VE stopped?
Regards,
- lars.
|
|
|