From owner-cvs-all Sun May 13 10:59: 7 2001 Delivered-To: cvs-all@freebsd.org Received: from privatecube.privatelabs.com (privatecube.privatelabs.com [63.114.185.254]) by hub.freebsd.org (Postfix) with ESMTP id 4BEA337B422; Sun, 13 May 2001 10:58:49 -0700 (PDT) (envelope-from mi@misha.privatelabs.com) Received: from misha.privatelabs.com (root@misha.plten [10.0.0.106]) by privatecube.privatelabs.com (8.9.3/8.9.2) with ESMTP id NAA30131; Sun, 13 May 2001 13:19:26 -0400 Received: (from mi@localhost) by misha.privatelabs.com (8.11.3/8.11.1) id f4DHwgl09955; Sun, 13 May 2001 13:58:42 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200105131758.f4DHwgl09955@misha.privatelabs.com> Subject: Re: [kris@obsecurity.org: Re: cvs commit: src/etc rc] In-Reply-To: <20010512023602.A40616@xor.obsecurity.org> "from Kris Kennaway at May 12, 2001 02:36:02 am" To: Kris Kennaway Date: Sun, 13 May 2001 13:58:42 -0400 (EDT) Cc: Kirk McKusick , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Ruslan Ermilov , fs@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Working under the assumption that the only time fsck is likely to fail > in this manner is if there are FS errors which can't be resolved in > the background, and which may result in further FS damage if left > uncorrected, the best option seems to be to take some action which > prevents this damage. > > The best series of actions might be the following: > > 1) Downgrade the FS to readonly mode. Can't a foreground fsck be run at this moment? Having to reboot for anything is rather ugly... I'm sure there is a reason it can not, I'm just wondering, what that reason is. Thanks! -mi > 2) syslog(LOG_EMERG, "Unrecoverable error in background check of %s, > FS downgraded to readonly mode. Reboot in 60 seconds to attempt to > repair the error. Kill PID %d now to abort.", ...) > > 3) Reboot in 60 seconds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message