From: Nikita Danilov Subject: Re: online fsck Date: Thu, 22 Apr 2004 19:45:08 +0400 Message-ID: <16519.59524.529494.545461@laputa.namesys.com> References: <20040422150042.5b49c6c3.pegasus@nerv.eu.org> <1082640853.12989.54.camel@watt.suse.com> <20040422162402.0b2f3dd6.pegasus@nerv.eu.org> <20040422152409.GO25281@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <20040422152409.GO25281@parcelfarce.linux.theplanet.co.uk> List-Id: Content-Type: text/plain; charset="us-ascii" To: Chris Dukes Cc: Jure Pe??ar , reiserfs-list@namesys.com Chris Dukes writes: > On Thu, Apr 22, 2004 at 04:24:02PM +0200, Jure Pe??ar wrote: > > On Thu, 22 Apr 2004 09:34:14 -0400 > > Chris Mason wrote: > > > > > Online check is easy, just use lvm or evms to make a snapshot and then > > > check the snapshot. Online rebuild tree would be impossible by > > > definition (since it throws out everything above the leaf level and > > > rebuilds). > > > > Well yes, one can do --check on ro mounted fs. > > > > I was thinking about fixing things up on an active rw filesystem ... where > > if something is found that does not look right, it is reported and fixed on > > the fly. > > > > It is worth mentioning that FreeBSD supposedly has an online in the > background fsck for UFS2. Wait a second. Assuming that kernel code has no bugs, the only corruption that may happen when soft-updates are used is leaked disk space. As I understand it, FreeBSD's background fsck fixes this problem and only it. But, under the same assumption, journalled file system needs _no_ fsck at all. > I don't know the implementation details as I am busy fighting XF86 4.4 > on FreeBSD. > > > So is it theoretically posible to fix stuff like these on the fly? > -- > Chris Dukes > Been there, done that, got the slightly-charred t-shirt. -- Crowder Nikita.