From owner-freebsd-fs@FreeBSD.ORG Thu Nov 13 02:39:00 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCA971065673 for ; Thu, 13 Nov 2008 02:39:00 +0000 (UTC) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (tokyo01.jp.mail.your.org [204.9.54.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD5E8FC0C for ; Thu, 13 Nov 2008 02:39:00 +0000 (UTC) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (localhost.your.org [127.0.0.1]) by tokyo01.jp.mail.your.org (Postfix) with ESMTP id 3C4572AD56A3 for ; Thu, 13 Nov 2008 02:22:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=dragondata.com; h= message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date; s=selector1; bh=+UluasU3ZcBBa8xF779f WamxwBU=; b=LeGIzBgyjKesSsnNsRgjzshZM8rxqeFRexk4o9is/kjG3sogo/8Q 89x4y9kMlmnNSHo0B7edbUwzBb3WWFTn02z0V+CciilqM2CZJ8IdDQp6jqgTkRYx F++ZOEr2429RasDXU1ZTfoDVPc1cUtVqLDh5dq+q59VXzizJXB8ulVc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=dragondata.com; h=message-id:from :to:content-type:content-transfer-encoding:mime-version:subject: date; q=dns; s=selector1; b=ab/6nHnB7pJxQWQGKq081eEv7OE9YjIfkaNt 6ApHHqxqsQl6BTW5W75hxZqOLA91SkH6N2aOoTpubCrlYCuEUnBrjZkMjJiH7IEd qgl7+XI1ZnIb9QRrCM3qL5HRr23lrrAb0sCoPc3mkt1vn00FePjQF9AKRXtO0SSJ K+R7rVg= Received: from mail.your.org (server3-a.your.org [64.202.112.67]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by tokyo01.jp.mail.your.org (Postfix) with ESMTPS id 120352AD5699 for ; Thu, 13 Nov 2008 02:22:32 +0000 (UTC) Received: from [216.14.99.244] (unknown [216.14.99.244]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.your.org (Postfix) with ESMTPSA id 61D60A0A453 for ; Thu, 13 Nov 2008 02:22:17 +0000 (UTC) Message-Id: <6EEFB17C-10DF-4CCD-AB07-83B4B75D033F@dragondata.com> From: Kevin Day To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 12 Nov 2008 20:22:29 -0600 X-Mailer: Apple Mail (2.929.2) Subject: UFS Snapshot lock time 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: Thu, 13 Nov 2008 02:39:00 -0000 Is there any documentation out there that explains how to optimize UFS snapshotting? Specifically, we've got a rather big filesystem that I'd like to do hourly snapshots of. I don't mind how long the snapshot itself takes, but the amount of time the filesystem is locked is a problem. We're "dead" for about 12 minutes per snapshotting. Is there anything to tweak to speed it up any? (memory v.s. time exchange somewhere?) Is the length of time it takes a function of the number of inodes, directories, or...? Relevant info: Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/da0s1a 739339824 73453348 606739292 11% 1717543 93856471 2% / which is a 6 drive RAID-0 array. CPU: Dual-Core AMD Opteron(tm) Processor 2218 (2593.52-MHz K8-class CPU) usable memory = 17166548992 (16371 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs In theory, this should be a rather fast box, but it is a rather large filesystem. -- Kevin