From owner-freebsd-fs@FreeBSD.ORG Mon Nov 7 05:09:18 2005 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 2023016A41F for ; Mon, 7 Nov 2005 05:09:18 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5117943D45 for ; Mon, 7 Nov 2005 05:09:17 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 789EB3134D; Mon, 7 Nov 2005 00:09:15 -0500 (EST) Date: Mon, 7 Nov 2005 00:09:15 -0500 (EST) From: user To: Eric Anderson In-Reply-To: <436EB1EC.7010801@centtech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-fs@freebsd.org Subject: Re: UFS2 snapshots on large filesystems 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: Mon, 07 Nov 2005 05:09:18 -0000 Eric, Thanks a bunch for your comments. See below: On Sun, 6 Nov 2005, Eric Anderson wrote: > I have several 2TB filesystems, which I do snapshots on. I can report > that it indeed takes a long time to run, but works nevertheless. One > thing to keep in mind though - fsck'ing a 2TB filesystem can take 2GB of > memory (depends on how many files you have, and a few other factors). I > have 4GB of memory in this box, and what I've seen so far is between > 1.5GB and 2.5GB of memory required for fsck to run smoothly on a single > partition. You definitely also want to turn off background fsck, unless > you have extreme amounts of time on your hands. An fsck of a 70% full > 2TB filesystem with a ton of files on it takes many hours, so I often > mount the filesystems unclean (FreeBSD lets me do this) with rw, and > continue my work until I can unmount, fsck, and remount the fs. Can you elaborate ? Namely, how long on the 2GB filesystems ? As far as the fsck is concerned, this only happens on an ungraceful reboot, right ? Assuming a snapshot on a 2GB FS, and assuming no crashes, no long-wait processes like fsck will ever occur, right ? Any other comments ? Do you experience instability/crashes often on systems of this nature ? Again, thanks.