On Thu, Apr 22, 2004 at 10:51:12AM -0700, Hans Reiser wrote: > Chris Mason wrote: > > > >Online check is easy, just use lvm or evms to make a snapshot and then > >check the snapshot. > > > Requires that users use lvm before discovering the need for fsck, but, > yes. What would be ideal would be some support for finding the > inconsistency on the snapshot, and then fixing it on the real fs using > the information learned from the snapshot fsck.
Taking a snapshot of the entire FS to fix metadata seems somewhat expensive. Any thoughts on intercepting FS activity to locate metadata that needs to be checked now rather than during the next moment the fs or disk is idle? Snapshotting 40G has a pretty small additional cost. Snapshotting 1TB is somewhat more expensive. > > >Online rebuild tree would be impossible by > >definition (since it throws out everything above the leaf level and > >rebuilds). Build a new tree and keep the old tree until the new tree is finished? -- Chris Dukes Been there, done that, got the slightly-charred t-shirt. -- Crowder