Re: Mailstore filesystem

From: Greg A. Woods (no email)
Date: Tue Jul 11 2006 - 17:46:47 EDT

  • Next message: Marc G. Fournier: "Re: Where stands 2.3 w/ virtdomain?"

    At Mon, 03 Jul 2006 17:22:07 -0500,
    Phil Brutsche wrote:
    >
    > Søren Schimkat wrote:
    > >
    > > Which filesystem would you recomend?
    >
    > ext3, hands down.

    Or good old trusty FFS, as the case may be. :-)

    (It is more than rock solid, and has been tested for decades on dozens
    of different machine architectures and in many radically different kinds
    of kernel architectures too.)

    Currently the largest spool I manage directly (for a small ISP) looks
    like this (it's running NetBSD-1.6_STABLE on a big Alpha with a nice
    Apple Xserve RAID):

    As you will see block consumption well out-paces inode consumption. If
    I remember correctly the various newfs parameters were automatically
    calculated from the block/frag numbers specified in the disk label,
    which were 16k/2k.

    # BLOCKSIZE=16384 df -i /var/spool/imap
    Filesyst 16384-blocks Used Avail %Cap iUsed iAvail %iCap Mounted on
    /dev/sd5a 66561885 1921235 63975031 2% 1150960 65946638 1% /var/spool/imap

    # dumpfs /var/spool/imap | sed 23q
    file system: /dev/rsd5a
    endian little-endian
    magic 11954 time Tue Jul 11 17:39:52 2006
    id [ 0 0 ]
    cylgrp dynamic inodes 4.4BSD fslevel 3 softdep disabled
    nbfree 64626086 ndir 33252 nifree 65946639 nffree 139367
    ncg 5242 ncyl 131048 size 536772608 blocks 532495087
    bsize 16384 shift 14 mask 0xffffc000
    fsize 2048 shift 11 mask 0xfffff800
    frag 8 shift 3 fsbtodb 2
    cpg 25 bpg 12800 fpg 102400 ipg 12800
    minfree 1% optim space maxcontig 4 maxbpg 4096
    rotdelay 0ms rps 250
    ntrak 128 nsect 128 npsect 128 spc 16384
    symlinklen 60 trackskew 0 interleave 1 contigsumsize 4
    maxfilesize 0x000400400402ffff
    nindir 4096 inopb 128 nspf 4
    avgfilesize 16384 avgfpdir 2000
    sblkno 8 cblkno 16 iblkno 24 dblkno 824
    sbsize 2048 cgsize 16384 offset 32 mask 0xffffff80
    csaddr 824 cssize 83968 shift 10 mask 0xfffffc00
    cgrotor 0 fmod 0 ronly 0 clean 0x02
    blocks available in each of 1 rotational positions

    -- 
    						Greg A. Woods
    H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <>
    Planix, Inc. <>       Secrets of the Weird <>
    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Marc G. Fournier: "Re: Where stands 2.3 w/ virtdomain?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD