From owner-freebsd-questions Sat Dec 29 10:33:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp-2.enteract.com (smtp-2.enteract.com [207.229.143.4]) by hub.freebsd.org (Postfix) with ESMTP id 36D7237B41E for ; Sat, 29 Dec 2001 10:33:07 -0800 (PST) Received: from jamestown.21stcentury.net (24-148-18-116.na.21stcentury.net [24.148.18.116]) by smtp-2.enteract.com (Postfix) with ESMTP id 4A38B7DBE; Sat, 29 Dec 2001 12:33:01 -0600 (CST) Received: (from jtm@localhost) by jamestown.21stcentury.net (8.11.6/8.11.3) id fBTIWfB05624; Sat, 29 Dec 2001 12:32:42 -0600 (CST) (envelope-from jtm63@enteract.com) X-Authentication-Warning: jamestown.21stcentury.net: jtm set sender to jtm63@enteract.com using -f To: devin-freebsdquestions@rintrah.org Cc: Mark Hughes , freebsd-questions@freebsd.org Subject: Re: Softupdates & fsck References: <019301c1820a$1b07e2b0$0200a8c0@mark2> <20011211070617.A51634@tharmas.rintrah.org> From: James McNaughton Date: 29 Dec 2001 12:32:39 -0600 In-Reply-To: <20011211070617.A51634@tharmas.rintrah.org> Message-ID: <86adw1lvw8.fsf@jamestown.21stcentury.net> Lines: 64 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG devin-freebsdquestions@rintrah.org writes: > > > > ad0s1a: hard error reading fsbn 656735 of 328304-328415 (ad0s1 bn 656735; > > cn 40 tn 224 sn 23) status=59 error=40 > > > > > > > > CANNOT READ: BLK 328304 > > > > CONTINUE? [yn] y > > This was on / without softupdates. The worst of your errors. > > [snip] > > > > > ** /dev/ad0s1h > > [snip] > > > UNREF FILE I=3166465 OWNER=nobody MODE=100644 > > > > SIZE=1295 MTIME=Dec 6 12:20 2001 > > > > RECONNECT? [yn] y > > lots of unreferenced files. You'll see that on the softupdates mounted partitions, > fsck is only reclaiming unused space by clearing up these unreferenced files. > > [snip] > > ** Phase 5 - Check Cyl groups > > > > FREE BLK COUNT(S) WRONG IN SUPERBLK > > > > SALVAGE? [yn] y > > > > > > > > SUMMARY INFORMATION BAD > > > > SALVAGE? [yn] y > > And here you have it. The summary info was bad. It's cleaning up the free blocks > incorrectly marked used. > > [snip] > > The rest of your file systems looked pretty much the same to me. Didn't look like they > were a "mess." Just reclaiming unused blocks as is supposed to happen with > softupdates. As others have noted, you can do this in the background in -CURRENT. > > --devin Do I understand this correctly, that -- except for the file system without softupdates -- fsck could have been skipped and the file system mounted with no serious consequences? E.g. that a huge file system could be immediately reused with only some blocks incorrectly allocated and then fsck'ed at a later, more convenient time? Assuming -STABLE and not -CURRENT. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message