[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot umount / when shutting down



On Tuesday 28 September 2004 16:06, 
debian-user-digest-request@lists.debian.org wrote:
> Sometimes I see the message that has not been possible to umount the
> root filesystem during  halt sequence.
> Then I suffer the endless fsck of the filesystem (it is ext3) on the
> next start.
>
> Does anybody know what may happen?

Possibly caused by timing problems--One cannot dismount if the file system is 
still "busy".  I fouind the appropriate script in the shutdown sequence and 
changed the umount to a umount -l. This "lazy" dismount avoids the timing 
problem by allowing the file system to be still "silently" mounted until 
free. I follow this with a sleep of a few seconds to wait for this to happen.

Script executes with no errors and the file system is clean on reboot.



Reply to: