From owner-freebsd-fs@FreeBSD.ORG Thu Sep 20 23:46:49 2007 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 E20CA16A417 for ; Thu, 20 Sep 2007 23:46:49 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from auriate.fluffles.net (cust.95.160.adsl.cistron.nl [195.64.95.160]) by mx1.freebsd.org (Postfix) with ESMTP id 9FE2613C469 for ; Thu, 20 Sep 2007 23:46:49 +0000 (UTC) (envelope-from etc@fluffles.net) Received: from 82-136-249-178.ip.tiscali.nl ([82.136.249.178] helo=[10.0.0.18]) by auriate.fluffles.net with esmtpa (Exim 4.66 (FreeBSD)) (envelope-from ) id 1IYJWX-000F3G-29 for freebsd-fs@FreeBSD.org; Thu, 20 Sep 2007 12:44:45 +0200 Message-ID: <46F24F2C.40205@fluffles.net> Date: Thu, 20 Sep 2007 12:45:00 +0200 From: Fluffles User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Writing contigiously to UFS2? 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, 20 Sep 2007 23:46:50 -0000 Hello list, I've setup a concat of 8 disks for my new NAS, using ataidle to spindown the disks not needed. This allows me to save power and noise/heat by running only the drives that are actually in use. My problem is UFS. UFS2 seems to write to 4 disks, even though all the data written so far can easily fit on just one disk. What's going on here? I looked at newfs parameters, but in the past was unable to make newfs write contigiously. It seems UFS2 always writes to a new cylinder. Is there any way to force UFS to write contigiously? Or at least limit the problem? If i write 400GB to a 4TB volume consisting of 8x 500GB disks, i want all data to be on the first disk. If the data spreads, then more disks will be 'awaken' when i read my data, which defeats the purpose of my power-saving NAS experiment. Any feedback is welcome. Using FreeBSD 6.2-RELEASE i386, used newfs -U -S 2048 . - Veronica