From owner-freebsd-fs@FreeBSD.ORG Fri Sep 21 10:49:47 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 1791D16A418 for ; Fri, 21 Sep 2007 10:49:47 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF9013C481 for ; Fri, 21 Sep 2007 10:49:46 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IYg4s-0005Pc-GZ for freebsd-fs@freebsd.org; Fri, 21 Sep 2007 12:49:42 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Sep 2007 12:49:42 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Sep 2007 12:49:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Fri, 21 Sep 2007 12:49:28 +0200 Lines: 52 Message-ID: References: <46F24F2C.40205@fluffles.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig5CF3686197E6B1275D584F4E" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.12 (X11/20060911) In-Reply-To: <46F24F2C.40205@fluffles.net> X-Enigmail-Version: 0.94.4.0 Sender: news Subject: Re: 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: Fri, 21 Sep 2007 10:49:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5CF3686197E6B1275D584F4E Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Fluffles wrote: > Hello list, >=20 > I've setup a concat of 8 disks for my new NAS, using ataidle to spindow= n=20 > the disks not needed. This allows me to save power and noise/heat by=20 > running only the drives that are actually in use. >=20 > My problem is UFS. UFS2 seems to write to 4 disks, even though all the = There 4 drives are used in what RAID form? If it's RAID0/stripe, you=20 can't avoid data being spread across the drives (since this is the point = of having RAID0). > data written so far can easily fit on just one disk. What's going on=20 > 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= =2E=20 > Is there any way to force UFS to write contigiously? Or at least limit = > the problem? If the drives are simply concatenated, then there might be weird=20 behaviour in choosing what cylinder groups to allocate for files. UFS=20 forces big files to be spread across cylinder groups so that no large=20 file fills entire cgs. --------------enig5CF3686197E6B1275D584F4E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFG86G5ldnAQVacBcgRA5udAJ9L3OmCHFrUOawWoO7KtdoDM2OSQQCgi1xG 8r9XI/M4ebP4xNTsmbXKSKk= =18nj -----END PGP SIGNATURE----- --------------enig5CF3686197E6B1275D584F4E--