From owner-freebsd-fs@FreeBSD.ORG Sat Mar 11 02:13:58 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org 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 C548C16AB47 for ; Sat, 11 Mar 2006 02:13:55 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id F35AC467E1 for ; Fri, 10 Mar 2006 16:07:31 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k2AG7UwS068713 for ; Fri, 10 Mar 2006 10:07:31 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <4411A43E.5080500@centtech.com> Date: Fri, 10 Mar 2006 10:07:26 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1321/Thu Mar 9 22:54:15 2006 on mh2.centtech.com X-Virus-Status: Clean Subject: Snapshot ufs blocking 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: Sat, 11 Mar 2006 02:13:58 -0000 Since there's been some chatter about snapshots recently, I thought I'd give more snapshots a try along with some quick tests. I've recently updated my server to 6.1-PRERELEASE (as of yesterday), and am running happily. Now, for the snapshot information. While creating a snapshot (on a rather large 2tb volume that is 94% used), using: mksnap_ffs /vol1 /vol1/.snap/2006-03-10.snap I can move around /vol1, ls, df, etc. I can cd to /vol1/.snap/, and do an ls, and the snapshot continues just fine. However, as soon as I do a ls -al against the /vol1/.snap/2006-03-10.snap file (in this case, my cwd is /vol1/.snap/ and I do an ls -al), the ls blocks on ufs, and then subsequent ls -al's of the root (/), the partition (/vol1/), all block in 'ufs'. Also, once this has happened, my mksnap_ffs stops, also blocked in 'ufs', and my ls's don't return (I've only waited about 20 minutes though). I could see the stat on the snapshot file itself blocking, but the rest of the system shouldn't block, should it? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------