Subject: Re: fsck still happens with softdeps?
To: None <tech-kern@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: tech-kern
Date: 12/22/2004 16:32:17
On Wed, Dec 22, 2004 at 10:24:07AM -0500, Thor Lancelot Simon wrote:
> On Wed, Dec 22, 2004 at 01:17:17PM +0100, Juan RP wrote:
> > On Wed, 22 Dec 2004 09:57:33 +0100
> > Peter Bex <Peter.Bex@student.kun.nl> wrote:
> > 
> > > Hi all,
> > > 
> > > I just read McKusick's softdeps paper and if I understood it correctly,
> > > fscks aren't necessary anymore except for the occasional background fsck
> > > to reclaim lost inodes.
> > > 
> > 
> > Background fsck hasn't been implemented on NetBSD, this could be implemented
> > now we have fss(4) with read/write support... any volunteer? :-)
> 
> fss(4) really doesn't have anything to do with it.

File system snapshots are indeed needed.

Background fsck takes a snapshot, mounts rw, runs fsck on the snapshot
and adjusts the mounted file system (block counts etc).

If I remember right at least Charles Hannum disagreed on background fsck.
-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)