[Ocfs2-users] [IMPORTANT] OCFS for maildir with 7000 users.

Sérgio Surkamp sergio at gruposinternet.com.br
Tue Apr 24 03:56:33 PDT 2012


Hi,

I recommend you to disable usrquota, grpquota and xattr features if you
don't need them and use noatime and localflocks mount options, as
Maildir was designed to be a locking free directory structure.

Also avoid using LVM (or CLVM) as it is not officially supported/tested.
Use your storage backend volume management instead.

Our largest mail cluster is currently storing 50k+ mailboxes in
Maildir+ (courier-mta extensions) format.

Regards,
Sérgio

Em Sat, 21 Apr 2012 12:45:55 +0200
Marek Królikowski <admin at wset.edu.pl> escreveu:

> Hello
> Anyone can give me right option to create filesystem i need use for
> ocfs2 for maildir storage?
> MAILDIR1 ~ # 
> mkfs.ocfs2 --label=MAILDIR --block-size=4KB --cluster-size=4KB
> --node-slots=4 -J size=256MB -T mail
> --fs-feature-level=max-features /dev/dm-0 mkfs.ocfs2 1.6.4
> Cluster stack: classic o2cb
> Overwriting existing ocfs2 partition.
> Proceed (y/N): Y
> Filesystem Type of mail
> Label: MAILDIR
> Features: sparse extended-slotmap backup-super unwritten inline-data 
> strict-journal-super metaecc xattr indexed-dirs usrquota grpquota
> refcount discontig-bg
> Block size: 4096 (12 bits)
> Cluster size: 4096 (12 bits)
> Volume size: 1729073381376 (422137056 clusters) (422137056 blocks)
> Cluster groups: 13088 (tail covers 2784 clusters, rest cover 32256
> clusters) Extent allocator size: 109051904 (26 groups)
> Journal size: 268435456
> Node slots: 4
> Creating bitmaps: done
> Initializing superblock: done
> Writing system files: done
> Writing superblock: done
> Writing backup superblock: 6 block(s)
> Formatting Journals: done
> Growing extent allocator: done
> Formatting slot map: done
> Formatting quota files: done
> Writing lost+found: done
> mkfs.ocfs2 successful
> 
> This is good? or i need change something for maildir storage?
> 
> Thanks
> 
> 
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users


-- 
  .:''''':.
.:'        `     Sérgio Surkamp | Administrador de Redes
::    ........   sergio at gruposinternet.com.br
`:.        .:'
  `:,   ,.:'     *Grupos Internet S.A.*
    `: :'        R. Lauro Linhares, 2123 Torre B - Sala 201
     : :         Trindade - Florianópolis - SC
     :.'
     ::          +55 48 3234-4109
     :
     '           http://www.gruposinternet.com.br



More information about the Ocfs2-users mailing list