From owner-freebsd-current@FreeBSD.ORG Wed Jul 20 04:03:41 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5FCC16A41F for ; Wed, 20 Jul 2005 04:03:41 +0000 (GMT) (envelope-from skylar@cs.earlham.edu) Received: from quark.cs.earlham.edu (cs.earlham.edu [159.28.230.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id B877C43D4C for ; Wed, 20 Jul 2005 04:03:40 +0000 (GMT) (envelope-from skylar@cs.earlham.edu) Received: from quark.cs.earlham.edu (localhost [127.0.0.1]) by quark.cs.earlham.edu (8.13.4/8.13.3) with ESMTP id j6K43aKL069335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Jul 2005 23:03:36 -0500 (EST) (envelope-from skylar@cs.earlham.edu) Received: (from skylar@localhost) by quark.cs.earlham.edu (8.13.4/8.13.3/Submit) id j6K43aHC069334 for freebsd-current@freebsd.org; Tue, 19 Jul 2005 23:03:36 -0500 (EST) (envelope-from skylar@cs.earlham.edu) X-Authentication-Warning: quark.cs.earlham.edu: skylar set sender to skylar@quark.cs.earlham.edu using -f Date: Tue, 19 Jul 2005 23:03:36 -0500 From: Skylar Thompson To: FreeBSD Current Message-ID: <20050720040336.GA69292@quark.cs.earlham.edu> Mail-Followup-To: FreeBSD Current References: <42DD64AB.3000605@centtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <42DD64AB.3000605@centtech.com> User-Agent: Mutt/1.4.2.1i X-Sender: "Skylar Thompson" X-Accept-Primary-Language: en X-Accept-Secondary-Language: es SMTP-Mailing-Host: quark.cs.earlham.edu X-Operating-System: FreeBSD 5.4-RELEASE-p1 X-Uptime: 11:01PM up 3 days, 23 hrs, 15 users, load averages: 0.06, 0.05, 0.02 X-Editor: VIM - Vi IMproved 6.3 (2004 June 7, compiled May 14 2005 15:15:17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (quark.cs.earlham.edu [127.0.0.1]); Tue, 19 Jul 2005 23:03:36 -0500 (EST) X-Virus-Scanned: ClamAV 0.86.1/984/Tue Jul 19 04:16:09 2005 on quark.cs.earlham.edu X-Virus-Status: Clean X-Sanitizer: This message has passed the MIMEDefang sanitizer. X-Sanitizer-URL: http://www.cs.earlham.edu/applied-groups/admin/ X-Sanitizer-Version: MIMEDefang/ECSanitizer $Revision: 1.18 $ X-Sanitizer-Config-Version: $Revision: 1.180 $ X-Scanned-By: milter-bcc/0.8.72 (localhost [127.0.0.1]); Tue, 19 Jul 2005 23:03:39 -0500 X-Scanned-By: MIMEDefang 2.51 on 192.168.0.3 X-Spam-Status: No, score=-2.8 required=8.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on quark.cs.earlham.edu Subject: Re: mksnap_ffs takes 4-5 minutes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Skylar Thompson List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 04:03:41 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 19, 2005 at 03:38:03PM -0500, Eric Anderson wrote: > Last week, I tried making a snapshot of one of my NFS servers'=20 > partitions. I've done this one other machines before, with smaller=20 > barely used partitions, and it has always been relatively snappy. >=20 > This time, when I ran mksnap_ffs, the command took nearly 5 minutes, in= =20 > which time all NFS traffic was suspended, as well as all disk access on= =20 > the machine. After reading in the FreeBSD Implementation book=20 > (McKusick), it claims it should be very very fast. >=20 > Anyone know why it should take so long to do this snapshot? Is this=20 > expected normal behaviour, or should I expect faster snapshots? >=20 > Here's some info on the filesystem: > Filesystem 1K-blocks Used Avail Capacity iused ifree=20 > %iused Mounted on > /dev/da1s1d 406234604 91799154 281936682 25% 1300303 51197103=20 > 2% /scr03 >=20 > /dev/da1s1d on /scr03 (ufs, NFS exported, local, soft-updates) Does that filesystem have a lot of open files? I believe all busy inodes have to be copied in the snapshot process. --=20 -- Skylar Thompson (skylar@cs.earlham.edu) -- http://www.cs.earlham.edu/~skylar/ --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC3c0Ysc4yyULgN4YRAv1pAJ9dpYB9F7MYQJmou8u+YtkLeJEbTwCbBx8x vZbCjmJh71bPh/iTgFRP4hg= =nBPW -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--