From owner-freebsd-fs@FreeBSD.ORG Wed Jun 20 22:45:38 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 264FD16A46C for ; Wed, 20 Jun 2007 22:45:37 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from bavaria.utcluj.ro (bavaria.utcluj.ro [193.226.5.35]) by mx1.freebsd.org (Postfix) with ESMTP id 3FF3F13C457 for ; Wed, 20 Jun 2007 22:45:37 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from localhost (localhost [127.0.0.1]) by bavaria.utcluj.ro (Postfix) with ESMTP id DDFA65082A; Thu, 21 Jun 2007 01:45:35 +0300 (EEST) X-Virus-Scanned: by the daemon playing with your mail on bavaria.utcluj.ro Received: from bavaria.utcluj.ro ([127.0.0.1]) by localhost (bavaria.utcluj.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0pc6fi4uy4g; Thu, 21 Jun 2007 01:45:32 +0300 (EEST) Received: from [172.27.2.200] (c7.campus.utcluj.ro [193.226.6.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bavaria.utcluj.ro (Postfix) with ESMTP id BE32450821; Thu, 21 Jun 2007 01:45:32 +0300 (EEST) Message-ID: <4679AE0C.5040306@net.utcluj.ro> Date: Thu, 21 Jun 2007 01:45:32 +0300 From: Cristian KLEIN Organization: Data Communication Center - Technical University of Cluj-Napoca User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Kostik Belousov References: <18041.21810.297355.202403@gargle.gargle.HOWL> <20070620165746.GX2268@deviant.kiev.zoral.com.ua> In-Reply-To: <20070620165746.GX2268@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Wed, 20 Jun 2007 22:45:38 -0000 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 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. >> >> 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. >> >> 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. > Do you think that 1.103.2.24 might solve this http://lists.freebsd.org/pipermail/freebsd-fs/2007-May/003161.html ?