filesystems not properly unmounted

Don Lewis truckman at FreeBSD.org
Fri Jun 3 02:00:20 GMT 2005


On  3 Jun, Matthias Buelow wrote:
> Don Lewis wrote:
> 
>> Nope, the ext2fs problem is different.  It is caused by ext2fs holding
>> persistent references to disk buffers that causes the kernel shutdown
>> code to to think that not all the dirty buffers have been written to
>> disk and skip unmounting all the file systems.
> 
> Can't that be changed in a way that the kernel checks that in a
> per-filesystem granularity instead of seemingly global?  I mean, I can
> understand that a marginal ext2 fs driver can cause problems with ext2
> filesystems, but affecting other filesystems aswell in such a way is not
> nice.

That might help to an extent, but would not eliminate the problem.  Any
file systems between root and the mount point of the ext2 file system
would be busy and would not be able to be unmounted.  They would still
be marked dirty and would need to be fsck'ed after the reboot.



More information about the freebsd-stable mailing list