From owner-freebsd-fs@FreeBSD.ORG Wed Jun 20 16:58:14 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEF6B16A400 for ; Wed, 20 Jun 2007 16:58:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id 52D3C13C44B for ; Wed, 20 Jun 2007 16:58:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1I13VU-000K0P-5v for freebsd-fs@freebsd.org; Wed, 20 Jun 2007 19:58:13 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l5KGvgTU041860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Jun 2007 19:57:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l5KGvmtJ081617; Wed, 20 Jun 2007 19:57:48 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l5KGvkOM081616; Wed, 20 Jun 2007 19:57:46 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 20 Jun 2007 19:57:46 +0300 From: Kostik Belousov To: Espen Skoglund Message-ID: <20070620165746.GX2268@deviant.kiev.zoral.com.ua> References: <18041.21810.297355.202403@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+hLoyg/derPMoKTw" Content-Disposition: inline In-Reply-To: <18041.21810.297355.202403@gargle.gargle.HOWL> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on skuns.kiev.zoral.com.ua X-Scanner-Signature: d3dfc5a0b247ea81d48b6a940fe6235f X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1162 [June 20 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: freebsd-fs@freebsd.org Subject: Re: Snapshot usage guidelines (to avoid stability issues) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2007 16:58:14 -0000 --+hLoyg/derPMoKTw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 20, 2007 at 06:26:26PM +0200, Espen Skoglund wrote: > Hi, >=20 > A couple of days ago I decided to start using snapshots on my system. > Knowing that the functionality has been available for quite some time > now I (apparently wrongly) assumed that it was ready for production > use. My bad. >=20 > My system, a 6-STABLE from week and a half ago, uses two 250GB > gstriped disks and has about 4-5 snapshots on one 215GB UFS partiton. > This morning I learned that things had gone terribly wrong during some > nightly cronjobs, hanging the whole system. Suspecting that snapshots > were the culprit I soon learned after some investigation that the > snapshot functionality wasn't nearly as stable as I had hoped for. >=20 > Looking at PRs and mailing lists there seems to be mainly two > outstanding stability issues with snapshots: a) snapshotted fs running > full, and b) deleting large amount of files on an fs with multiple > snapshots. The former issue, while certainly annoying, one could be > able to work around. The latter issue, on the other hand, seems more > like a definite show stopper. >=20 > Am I right in inferring that the two above cases are main issues with > snaphots at this time, or are there other known gotchas that I have to > look out for. About the issue b). Are you system sources before or after 2007-06-11 10:53:48 UTC ? Or simply show me the version of sys/ufs/ffs/ffs_snapshot.c. If it is less then 1.103.2.24, see developers handbook for instruction on reporting deadlocks. --+hLoyg/derPMoKTw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGeVyKC3+MBN1Mb4gRAsyuAKCr1dQUqYJ3nsknhei7o9vE75klFQCggNjP IPlWviBqi2ZxKmM81SFpE9c= =DjYU -----END PGP SIGNATURE----- --+hLoyg/derPMoKTw--