Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2008 16:16:20 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-questions@FreeBSD.ORG, chris@smartt.com
Subject:   Re: Recommended newfs settings for 600GB mail (maildir) store?
Message-ID:  <200808201416.m7KEGK4j042087@lurza.secnetix.de>
In-Reply-To: <48AB300E.40509@smartt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris St Denis wrote:
 > I recently created a new mail server with a 600GB raid5 partition to 
 > store maildirs. When I created it, I used a newfs -i 4096 but when I had 
 > recent hardware problems the background FSCK took a very long time, and 
 > I'm concerned that the -i 4096 may have made that a lot worse.

Yes, that's probably the case.

 > So I ask. What newfs settings do you recommend for a 600GB partition 
 > dedicated to maildirs?

You will need a large number of inodes, so the fsck time
will be very long if you use plain UFS.  There are no
newfs options that will be able to help it, I'm afraid.

You should either use UFS with gjournal, or use ZFS.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

PI:
int f[9814],b,c=9814,g,i;long a=1e4,d,e,h;
main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a)
while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}



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