Hi! I?m about to migrate a system whith 5000 accounts whith (~ 500GB) from "postfix/courier-imap/maildrop/mysql" to a new hardware whith "postfix/dovecot/dovecot/mysql". I?ll make a separate partition (raid 1) for the mail spool (/var/spool/vmail) and want to now what type of filesystem to use on it to increase performance. I read that XFS is a good choice, but is not too reliable... Any sugestions? Thanks in advance, -- ----------------------------- _ Julio Cesar Covolato 0v0<julio at psi.com.br> /(_)\ F: 55-11-3129-3366 ^ ^ PSI INTERNET -----------------------------
W dniu 17.08.2011 15:23, Julio Cesar Covolato pisze:> Hi!Hello!> I read that XFS is a good choice, but is not > too reliable...Why? Who wrote this? And when? In 2005 year? :)
Julio Cesar Covolato schreef:> . I read that XFS is a good choice, but is not too reliable... >I did not know FreeBSD had XFS. Well serieus now, be a little more specific. Which OS and so on. regards, Johan Hendriks
On Wed, 17 Aug 2011 10:23:24 -0300, Julio Cesar Covolato wrote:> I?ll make a separate partition (raid 1) for the mail spool > (/var/spool/vmail) and want to now what type of filesystem to use on > it to increase performance. I read that XFS is a good choice, but is > not too reliable...XFS is reliable. I recommend ext4 or xfs. Both are very good reliable filesystems. You should rather worry about the mailboxformat. The performance difference is much greater than xfs or ext4. Best regards, Morten
> I read that XFS is a good choice, but is not > too reliable...Are you using Maildir or MBOX? In any case: XFS would be my last choice: XFS is nice if you are working with large files (> 2GB), but for E-Mail i'd stick with ext3 (or maybe even reiser3) as it works very well with small files. If performance is a problem (iostat output?): Mount it with 'noatime' or/and use a special device for the journal. Regards, Adrian
On 8/17/2011 8:23 AM, Julio Cesar Covolato wrote:> Hi! > > I?m about to migrate a system whith 5000 accounts whith (~ 500GB) from > "postfix/courier-imap/maildrop/mysql" to a new hardware whith > "postfix/dovecot/dovecot/mysql". > > I?ll make a separate partition (raid 1) for the mail spool > (/var/spool/vmail) and want to now what type of filesystem to use on it > to increase performance. I read that XFS is a good choice, but is not > too reliable...With only a single spindle of seek performance, which is what mirroring (RAID 1) gives you, about 150-300 seeks/second depending on which disks you use, the filesystem will not be a limiting factor, no matter which one you choose. The low IOPS of the disk will limit your performance. Thus, choose the filesystem you are most comfortable, and experienced, in managing. All other factors being equal (proper fit, use, administration, etc) XFS is as reliable, if not more reliable, than any other Linux filesystem. I'm guessing that what you read related to a bug that was fixed in 2007, which previously could cause corruption in certain circumstances, mainly with many transactions in flight during a power failure, i.e. no UPS or a failed UPS. -- Stan
On 8/17/2011 9:23 AM, Julio Cesar Covolato wrote:> Hi! > > I?m about to migrate a system whith 5000 accounts whith (~ 500GB) from > "postfix/courier-imap/maildrop/mysql" to a new hardware whith > "postfix/dovecot/dovecot/mysql". > > I?ll make a separate partition (raid 1) for the mail spool > (/var/spool/vmail) and want to now what type of filesystem to use on it > to increase performance. I read that XFS is a good choice, but is not > too reliable...We run ext3 and ext4. Individual mailboxes with a few hundred thousand messages in Maildir on top of ext3 ran fine (800k messages, 4GB mailbox was not unusual). Slowly migrating file systems over to ext4 as we have time (or rollout new hardware). Frankly, for that big of a mail store, I'd go with RAID 1+0 over a minimum of 4 spindles for the storage of the mbox / Maildir files. If you have heavy usage, seek time might be your biggest enemy. Keeping the postfix spools (/var/spool/postfix) on a separate set of disks (like the RAID 1 array that you use to run the operating system off of) helps.