From owner-freebsd-arch Mon Apr 16 16:57:53 2001 Delivered-To: freebsd-arch@freebsd.org Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by hub.freebsd.org (Postfix) with ESMTP id 3D3EA37B43C; Mon, 16 Apr 2001 16:57:51 -0700 (PDT) (envelope-from mckusick@mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.9.3/8.9.3) with ESMTP id QAA55446; Mon, 16 Apr 2001 16:57:42 -0700 (PDT) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200104162357.QAA55446@beastie.mckusick.com> To: Alexander Leidinger Subject: Re: Background Fsck Cc: rwatson@FreeBSD.ORG, arch@FreeBSD.ORG In-Reply-To: Your message of "Thu, 05 Apr 2001 11:38:50 +0200." <200104050938.f359ctI09858@Magelan.Leidinger.net> Date: Mon, 16 Apr 2001 16:57:42 -0700 From: Kirk McKusick Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Date: Thu, 5 Apr 2001 11:38:50 +0200 (CEST) From: Alexander Leidinger Subject: Re: Background Fsck To: rwatson@FreeBSD.ORG Cc: mckusick@mckusick.com, arch@FreeBSD.ORG On 5 Apr, Robert Watson wrote: Another usability question. Was wondering about the possibility of multiple background fsck's getting started at a time, et al, possibly due to bad behavior by the user. Can the user get shot in the foot in the following situations: [1-3] 4) They shutdown the machine while the background fsck is in progress. Bye, Alexander. The background fsck is using the soft updates system to make its changes to the filesystem. So, as with all the other concurrent changes going on, they are ordered so as to maintain filesystem consistency. Whether the system is shut down cleanly or abruptly while a background fsck is in progress, the filesystem will be recoverable. When a new background fsck is eventually started on the partially checked filesystem, it will simply pick up where the other one left off. Kirk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message