From owner-freebsd-current@FreeBSD.ORG Tue Dec 27 22:48:48 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F504106566B for ; Tue, 27 Dec 2011 22:48:48 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id 6EC848FC0C for ; Tue, 27 Dec 2011 22:48:47 +0000 (UTC) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 2544914CE6; Tue, 27 Dec 2011 14:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1325026127; bh=TcF6VaoN4bHgtMyx9ye8GeESY6E5jIDpxwM/GaNqQqo=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ct7+RwGrHdlZQbK7exPkR7nszNDS2hvlln67ICq3nbzEsOlEvjzIt03BjH0K1EmwS hxZUm893WRyGwZSoxtysSnKNHPHz04bIuvMgYBS6Vd+lhm/qv2JhjtZkh3Fk2G5OjG bDSRoni1wsQDnyh9hA1qBIwYqMTn5If8UcSHYXAo= Message-ID: <4EFA4B4E.201@delphij.net> Date: Tue, 27 Dec 2011 14:48:46 -0800 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: David Thiel References: <20111227215330.GI45484@redundancy.redundancy.org> <20111227223638.GK45484@redundancy.redundancy.org> In-Reply-To: <20111227223638.GK45484@redundancy.redundancy.org> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: d@delphij.net, freebsd-current@freebsd.org Subject: Re: SU+J systems do not fsck themselves X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 22:48:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/27/11 14:36, David Thiel wrote: > On Tue, Dec 27, 2011 at 02:29:03PM -0800, Xin LI wrote: >> I'm not sure if your experiments are right here, the second log >> shows you're running it read-only, which is likely caused by >> running it on live file system. > > Yes, this most recent instance is me running it on a live FS, > because I'm using that machine to type this right now. :) However, > I've had the issues fixed in single-user on other systems and had > the problems go away. At least for a bit. > >> - use journalled fsck; - use normal fsck to check if the >> journalled fsck did the right thing. > > When you say "use journalled fsck", what's the proper way to > initiate that? I don't see any journal-related options in the man > page. fsck -p perhaps? IIRC the fsck_ufs(8) would use journal if it's available and up-to-date. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk76S04ACgkQOfuToMruuMChEACfXyh1Y7IGiATqJdnFKeuIS2vB vJMAn0gCPy98kohAh3LD9ieIASPmksHd =L7lN -----END PGP SIGNATURE-----