From owner-freebsd-stable@FreeBSD.ORG Tue Jun 14 18:48:24 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 50B1E16A41C for ; Tue, 14 Jun 2005 18:48:24 +0000 (GMT) (envelope-from skylar@cs.earlham.edu) Received: from quark.cs.earlham.edu (cs.earlham.edu [159.28.230.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0305F43D53 for ; Tue, 14 Jun 2005 18:48:23 +0000 (GMT) (envelope-from skylar@cs.earlham.edu) Received: from [159.28.57.98] (wir057098.rpa.earlham.edu [159.28.57.98]) (authenticated bits=0) by quark.cs.earlham.edu (8.13.4/8.13.3) with ESMTP id j5EImIwv033673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jun 2005 13:48:19 -0500 (EST) (envelope-from skylar@cs.earlham.edu) Message-ID: <42AF266B.80304@cs.earlham.edu> Date: Tue, 14 Jun 2005 13:48:11 -0500 From: Skylar Thompson Organization: Earlham College Computer Science Department User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Grant References: <20050611071010.GQ57111@grant.org> In-Reply-To: <20050611071010.GQ57111@grant.org> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig35AFD7AFEE4E8DBACEEB329B" X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (quark.cs.earlham.edu [159.28.230.3]); Tue, 14 Jun 2005 13:48:19 -0500 (EST) X-Virus-Scanned: ClamAV 0.85.1/938/Tue Jun 14 03:59:24 2005 on quark.cs.earlham.edu X-Virus-Status: Clean X-Sanitizer: This message has passed the MIMEDefang sanitizer. X-Sanitizer-URL: http://www.cs.earlham.edu/applied-groups/admin/ X-Sanitizer-Version: MIMEDefang/ECSanitizer $Revision: 1.18 $ X-Sanitizer-Config-Version: $Revision: 1.180 $ X-Scanned-By: MIMEDefang 2.51 on 159.28.230.3 X-Spam-Status: No, score=-2.8 required=8.0 tests=ALL_TRUSTED autolearn=failed version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on quark.cs.earlham.edu Cc: freebsd-stable@freebsd.org Subject: Re: disappearing snapshots X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 14 Jun 2005 18:48:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig35AFD7AFEE4E8DBACEEB329B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Michael Grant wrote: >I've been playing with snapshots (mksnap_ffs) recently. I've got a >script which does a daily snapshot and keeps 7 days of history. Last >night, the machine crashed and when it came back up, all the snapshots >referred to the current view of the disk, i.e. I lost the 7-day >history. > >I'm running 5.3-release. > >Has anyone seen this? Snapshots should persist beyond reboots, >shouldn't they? > >(Yes, I am doing the mdconfig and remounting the snap.) > > I haven't seen this specifically, but I have noticed a fair amount of instability related to the snapshot code. I've managed to crash 5.2-RELEASE through 5.4-RELEASE by keeping too many snapshots, or hammering the disk while taking a snapshot, or having a filesystem with lots (close to a million) of files. Have you tried fscking the disk manually from single-user mode? -- -- Skylar Thompson (skylar@cs.earlham.edu) -- http://www.cs.earlham.edu/~skylar/ --------------enig35AFD7AFEE4E8DBACEEB329B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCryZvsc4yyULgN4YRAhwyAJ4nKfQyYRp/zjs1XikU0eVSBW/CcQCfVBWN FLrDiDO1Mndb5vLeWTh9dso= =mzgF -----END PGP SIGNATURE----- --------------enig35AFD7AFEE4E8DBACEEB329B--