From owner-freebsd-stable@FreeBSD.ORG Tue Nov 16 23:58:22 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D50216A4D0 for ; Tue, 16 Nov 2004 23:58:22 +0000 (GMT) Received: from worf.kerna.com (worf.kerna.com [194.106.143.118]) by mx1.FreeBSD.org (Postfix) with SMTP id 3ED0443D39 for ; Tue, 16 Nov 2004 23:58:21 +0000 (GMT) (envelope-from james@kerna.ie) Received: (qmail 59003 invoked from network); 16 Nov 2004 23:58:30 -0000 Received: from unknown (192.168.42.139) by bender.kerna.ie with QMQP; 16 Nov 2004 23:58:30 -0000 Date: Tue, 16 Nov 2004 23:58:16 +0000 From: James Raftery To: freebsd-stable@freebsd.org Message-ID: <20041116235816.GD52797@fry.kerna.ie> Mail-Followup-To: freebsd-stable@freebsd.org References: <16794.35765.800111.518475@canoe.dclg.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16794.35765.800111.518475@canoe.dclg.ca> Subject: Re: Different snapshot sizes. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 23:58:22 -0000 On Tue, Nov 16, 2004 at 06:22:29PM -0500, David Gilbert wrote: > But the snapshots are often different sizes. This strikes me as odd, > as I understood the "format" of a snapshot was to be the same as the > "format" of the partition itself --- so they should all have the same > size as the physical partition. (To my surprise also) snapshot files seem to contain more data that one might expect. There's a comment in the code that says `Write out the list of allocated blocks to the end of the snapshot' (pointed out by folks on my local BSD mailing list. Full thread at [0]). Changes in the `list of allocated blocks' might account for the differences you're seeing. [0] http://lists.redbrick.dcu.ie/pipermail/bugi/2004-August/thread.html#579 ATB, james