From owner-freebsd-stable@FreeBSD.ORG Tue Nov 16 23:22:33 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 5552B16A4D0 for ; Tue, 16 Nov 2004 23:22:33 +0000 (GMT) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E6B543D2F for ; Tue, 16 Nov 2004 23:22:33 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 3209DC9D1; Tue, 16 Nov 2004 18:22:32 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id D3A0A67F5; Tue, 16 Nov 2004 18:22:29 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16794.35765.800111.518475@canoe.dclg.ca> Date: Tue, 16 Nov 2004 18:22:29 -0500 To: freebsd-stable@freebsd.org X-Mailer: VM 7.17 under 21.5 (beta17) "chayote" (+CVS-20040321) XEmacs Lucid Subject: 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:22:33 -0000 I'm somewhat confused. When I take snapshots, offtimes, they seem to be different sizes. I have a system that has two 120 Gig disks that are vinum (now gvinum) raid1'd. On that I have a root, swap, usr, var and 'u' partitions. All vinum created. As one (of several) backup policies, we take three filesystem snapshots per day, and progressively delete them such that the oldest snapshot we keep is about 30 days old. 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. An example: Making snapshot /usr/snap/20041116_180000 done. total 193248 -r--r----- 1 root operator 6442451256 Nov 16 17:32 20041116_094346 -r--r----- 1 root operator 6442451256 Nov 16 18:00 20041116_120001 -r--r----- 1 root operator 6442451264 Nov 16 18:00 20041116_180000 ... the script above calls mksnap_ffs and then ls -l's the directory. Note that the last snapshot is 8 bytes larger. Very odd. It's not divisible by 512, but then neither are the other two. At any rate, this all wouldn't worry me if the server didn't crash with some regularity ... which it does. In fact, the /var partition gets the widest variety of snapshot sizes ... so I've disabled snapshots there alltogether. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================