From owner-freebsd-fs@FreeBSD.ORG Thu Jun 21 10:10:51 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 2B96616A46C for ; Thu, 21 Jun 2007 10:10:51 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id B7F8913C4BD for ; Thu, 21 Jun 2007 10:10:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1I1Jck-000EZr-Kv for freebsd-fs@freebsd.org; Thu, 21 Jun 2007 13:10:49 +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 l5LAASXR067911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jun 2007 13:10:28 +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 l5LAAY0U061027; Thu, 21 Jun 2007 13:10:34 +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 l5LAAYjS061026; Thu, 21 Jun 2007 13:10:34 +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: Thu, 21 Jun 2007 13:10:34 +0300 From: Kostik Belousov To: Cristian KLEIN Message-ID: <20070621101034.GB2268@deviant.kiev.zoral.com.ua> References: <18041.21810.297355.202403@gargle.gargle.HOWL> <20070620165746.GX2268@deviant.kiev.zoral.com.ua> <4679AE0C.5040306@net.utcluj.ro> <20070621090333.GA2268@deviant.kiev.zoral.com.ua> <467A45B8.3070303@net.utcluj.ro> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2tb6s275ZjQu9Nb2" Content-Disposition: inline In-Reply-To: <467A45B8.3070303@net.utcluj.ro> 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: efe3bc1504fa577d936f03857ce6b673 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, Espen Skoglund 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: Thu, 21 Jun 2007 10:10:51 -0000 --2tb6s275ZjQu9Nb2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 21, 2007 at 12:32:40PM +0300, Cristian KLEIN wrote: > Kostik Belousov wrote: > > On Thu, Jun 21, 2007 at 01:45:32AM +0300, Cristian KLEIN wrote: > >> Kostik Belousov wrote: > >>> On Wed, Jun 20, 2007 at 06:26:26PM +0200, Espen Skoglund wrote: > >>>> Hi, > >>>> > >>>> 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. > >>>> > >>>> 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 so= me > >>>> nightly cronjobs, hanging the whole system. Suspecting that snapsho= ts > >>>> were the culprit I soon learned after some investigation that the > >>>> snapshot functionality wasn't nearly as stable as I had hoped for. > >>>> > >>>> Looking at PRs and mailing lists there seems to be mainly two > >>>> outstanding stability issues with snapshots: a) snapshotted fs runni= ng > >>>> 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. > >>>> > >>>> 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_snaps= hot.c. > >>> > >>> If it is less then 1.103.2.24, see developers handbook for instructio= n on > >>> reporting deadlocks. > >>> > >> Do you think that 1.103.2.24 might solve this > >> http://lists.freebsd.org/pipermail/freebsd-fs/2007-May/003161.html ? > > I very much doubt it. AFAIR, I asked at least ddb backtrace for the cra= sh, > > and you did not answered. >=20 > I'm really sorry, but I wasn't able to reproduce the problem on another > system. I tried taking / deleting many snapshots while running bonnie++, > but the panic would not occur. >=20 > I have 1,7mil inodes (4% utilization) on the server where the crash > occured. Might this be a prerequisite of the panic? It may be related to inode/cyl groups density ratio. --2tb6s275ZjQu9Nb2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGek6ZC3+MBN1Mb4gRAstNAKC5IbY1VwR4Jw4zztHl5JmcTdoe/wCbB57x WHUI39TyrcDwt5DPVPV8BPk= =Kp/i -----END PGP SIGNATURE----- --2tb6s275ZjQu9Nb2--