Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Apr 2003 12:13:31 +0200
From:      Heinrich Rebehn <rebehn@ant.uni-bremen.de>
To:        Jan Grant <Jan.Grant@bristol.ac.uk>
Cc:        questions@freebsd.org
Subject:   Re: newfs parameters for a 500 GB volume ?
Message-ID:  <3E8C094B.6030503@ant.uni-bremen.de>
In-Reply-To: <Pine.GSO.4.44.0304030957530.22089-100000@mail.ilrt.bris.ac.uk>
References:  <Pine.GSO.4.44.0304030957530.22089-100000@mail.ilrt.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8C094B.6030503>