From owner-freebsd-questions Mon Dec 23 15:44:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B046137B401 for ; Mon, 23 Dec 2002 15:44:19 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19F8243EDC for ; Mon, 23 Dec 2002 15:44:18 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 219445194A; Tue, 24 Dec 2002 10:14:16 +1030 (CST) Date: Tue, 24 Dec 2002 10:14:16 +1030 From: Greg 'groggy' Lehey To: Hari Bhaskaran Cc: freebsd-questions@freebsd.org Subject: Re: newfs -i and -f options with vinum Message-ID: <20021223234416.GA49574@wantadilla.lemis.com> References: <20021222184113.A6131@spider.netmails.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021222184113.A6131@spider.netmails.net> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday, 22 December 2002 at 18:41:13 -0600, Hari Bhaskaran wrote: > Hi, > > I need to create a partition that will be used to > store large number of small files (qmail Maildir) > I normally (without vinum in the picture) do this via > > newfs -i 2048 -f 512 /dev/... > > So when using newfs to create an fs via vinum, I am assuming > I have to specify -i and -f options in addition to -v. > However, I noticed that these options where also specified > under disklabel for the entire vinum drive > (I saw fsize and bsize - which I assume > will be fragment size and block size). > > So my questions is:- > > Is it possible to specify these settings only for one > volume (where I store my mail files)? Does it mean I > can ignore the settings that I saw in disklabel (-e)? These settings don't apply to volumes, they apply to file systems. Yes, you can set them individually for each file system. The information in the disk label is not binding. I'd strongly advise against a 2048 byte block size, though; it buys you nothing in comparison with a 4096 byte block size, but it can result in marginally reduced performance. In general, unless you have a very good reason, stick to the default 16k/2k block and frag sizes. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message