From owner-freebsd-current@FreeBSD.ORG Mon May 12 13:53:25 2003 Return-Path: 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 8FC4E37B401 for ; Mon, 12 May 2003 13:53:25 -0700 (PDT) Received: from HAL9000.homeunix.com (12-233-57-131.client.attbi.com [12.233.57.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD56943F75 for ; Mon, 12 May 2003 13:53:24 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.9/8.12.5) with ESMTP id h4CKrJqA003695; Mon, 12 May 2003 13:53:19 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.9/8.12.5/Submit) id h4CKrIqU003694; Mon, 12 May 2003 13:53:18 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Mon, 12 May 2003 13:53:18 -0700 From: David Schultz To: Farid Hajji Message-ID: <20030512205318.GA3573@HAL9000.homeunix.com> Mail-Followup-To: Farid Hajji , freebsd-current@freebsd.org References: <200305100055.37190.me@farid-hajji.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305100055.37190.me@farid-hajji.de> cc: freebsd-current@FreeBSD.ORG Subject: Re: Are snapshots always consistent? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 20:53:25 -0000 On Sat, May 10, 2003, Farid Hajji wrote: > I'm somewhat confused about snapshots. > > Are snapshots (e.g. created with dump -L) supposed to > be always in a consistent state? Yes. > What happens if a snapshot is taken, while background > fsck is fixing a filesystem? fsck creates its own snapshot of the filesystem and analyzes the snapshot, so nothing bad should happen. fsck's snapshot will show up as a zero-length file in dump's snapshot.