From owner-freebsd-current Wed Jan 22 11:43:52 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA59637B401 for ; Wed, 22 Jan 2003 11:43:50 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 372F443F13 for ; Wed, 22 Jan 2003 11:43:50 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id h0MJhcIi118644; Wed, 22 Jan 2003 14:43:38 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030123005315.A97248@iclub.nsu.ru> References: <200301221813.h0MIDUTF040121@khavrinen.lcs.mit.edu> <20030123005315.A97248@iclub.nsu.ru> Date: Wed, 22 Jan 2003 14:43:37 -0500 To: Max Khon , Jan Srzednicki From: Garance A Drosihn Subject: Re: background fsck did not create lost+found Cc: Garrett Wollman , current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 12:53 AM +0600 1/23/03, Max Khon wrote: > >On Wed, Jan 22, 2003 at 07:18:44PM +0100, Jan Srzednicki wrote: > > > > > Would that be a big problem to allow some fsck option not > > > > to erase all these softupdates-pending inodes, but to put > > > > them in lost+found as usual? > > > > > > It certainly couldn't be done with the background fsck, > > > because background fsck works on a snapshot and not the > > > running filesystem; thus, it cannot make any allocations -- it > > > can only deallocate things. > > > > Still, in case you know some of your important files can be lost, > > you can boot the system to single user and run foreground fsck. > >this is not an option if the system was rebooted because of power >loss or kernel panic Can't you just set the rc.conf option to not-do the background fsck? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message