From owner-freebsd-fs@FreeBSD.ORG Tue Feb 17 17:17:05 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C7E316A4D1 for ; Tue, 17 Feb 2004 17:17:05 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.5]) by mx1.FreeBSD.org (Postfix) with SMTP id D0A6C43D1D for ; Tue, 17 Feb 2004 17:17:04 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 88098 invoked by uid 1002); 18 Feb 2004 01:17:02 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 18 Feb 2004 01:17:02 -0000 Message-ID: <4032BC6A.7030403@freebsd.org> Date: Tue, 17 Feb 2004 18:14:18 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Lewis References: <200402170101.i1H11k7E048190@gw.catspoiler.org> In-Reply-To: <200402170101.i1H11k7E048190@gw.catspoiler.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-fs@FreeBSD.org cc: freebsd-current@FreeBSD.org cc: joseph@randomnetworks.com cc: mckusick@FreeBSD.org Subject: Re: FreeBSD 5.2.1-RC2 fs snapshot problems. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 01:17:05 -0000 Don Lewis wrote: > On 16 Feb, Joseph Scott wrote: > >> I just finished testing a fresh install of FreeBSD 5.2.1-RC2 and >>have verified that the problem mentioned in PR kern/58154 is still there. >>The problem is fairly simple to show: >> >>1. Install a fresh 5.2.1-RC2 system. >>2. Shutdown a few times to show that it completes correctly. >>3. Create some snapshots of a filesystem (on 5.2.1-RC2 I did >> 3 snapshots of /usr). >>4. Try to shutdown again. >>5. Watch your system hang forever, unable to complete a shutdown >> correctly. >> >> I've done this samething on 3 different systems with the exact >>same results every single time. If you cycle the power to reboot and then >>delete the snapshot files shutdown is able to work completely once more. >> >> I'm more than willing to try out patches or different >>settings/options in an effort to try and track this down. I would be >>thrilled to be able to use fs snapshots for systems at work, but as it >>stands not being able to shutdown a system makes the snapshot feature >>useless. >> >> Sorry about cross posting this so much, but I've been trying to >>raise the attention level of this problem for weeks now without any luck. > > > I saw this as well a couple of months ago. I think I was running > 5.2-CURRENT. > There are fundamental issues with FFS snapshots and our buffer/cache that are well beyond the scope of fixing for 5.2.1. If someone has an idea of how to fix them for 5.3, all the better. Scott