Date: Wed, 31 Aug 2005 18:44:52 -0300 From: Rainer Alves <freebsd@powered.net> To: freebsd-current@freebsd.org Subject: Re: 6.0-BETA3: ext2fs: if mounted at shutdown, fsck at next boot Message-ID: <431624D4.5080800@powered.net> In-Reply-To: <m3y86l3zf6.fsf@merlin.emma.line.org> References: <m3y86l3zf6.fsf@merlin.emma.line.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Actually there's a workaround for this... add the following near the end of /etc/rc.shutdown: Sure, it isn't the perfect solution, but it works. Rainer Alves BrasilTelecom ----------- # Insert other shutdown procedures here extfs=`eval mount | grep ext2fs | awk '{print $1 }'` for _elem in $extfs; do echo -n "Unmounting ext2/ext3 filesystems: " umount -f $_elem echo -n "$_elem " done ----------- Matthias Andree wrote: >See Subject - this bug has already haunted FreeBSD 5 and still persists >in FreeBSD 6.0: shutting down FreeBSD 5 or 6 with a mounted ext2fs file >system prevents proper synching of the super blocks (vnode count remains >nonzero, until kernel gives up), so all file systems that were mounted >are fsck'd at next reboot, UFS, UFS2, ext2fs, doesn't matter. > >Someone please check the ext2fs locking. > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?431624D4.5080800>