From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 02:12:28 2003 Return-Path: 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 59E0C37B401 for ; Thu, 3 Apr 2003 02:12:28 -0800 (PST) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F4943F3F for ; Thu, 3 Apr 2003 02:12:27 -0800 (PST) (envelope-from rebehn@ant.uni-bremen.de) Received: from taipeh.ant.uni-bremen.de ([134.102.176.3] helo=ant.uni-bremen.de) by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.12) id 1911jT-000I16-00; Thu, 03 Apr 2003 12:14:07 +0200 Message-ID: <3E8C094B.6030503@ant.uni-bremen.de> Date: Thu, 03 Apr 2003 12:13:31 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jan Grant References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: newfs parameters for a 500 GB volume ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 10:12:28 -0000 Jan Grant wrote: >On Thu, 3 Apr 2003, Heinrich Rebehn wrote: > > > >>Hi, >> >>I am repeating the post below, because it obviously hasn't made it to >>the list (at least i did not get it back from the list). >> >>Can someone please give me some advice, because i will be setting up the >>discs today. >> >>Thank you >> >> >>Hi, >> >>I am going to set up a RAID 0 array with two 250G drives, making 500G. >>Which newfs parameters would you recommend for it? >> >> > >As many cylinders per group as possible. I think newfs has an "infinity" >setting to pick the right number. > > > >>I am afraid of ending up with a fs with Gigs of space and no inodes >>left, or a fs that is heavily fragmented and slow. >>Reading the newfs manpage didn't quit help me, it explains all switches >>The files on the volume will be 2 MB average. >> >> > >There's a "bytes per inode" setting that you can plug this figure into. >You might want to be a little more generous with inodes than that (give >yourself some elbow room). You need inodes for symlinks and directories >too. > > Thank you for your reply. I have reread the manpage and would go for: - blocksize => 64 kB - fragsize => 64/8 => 8 kB - bytes/inode => 16 kB Are these values reasonable or should i use higher values (because the disk is so large?) Heinrich