[Dovecot] XFS vs EXT4 for mail storage

Charles Marcus CMarcus at Media-Brokers.com
Fri May 3 14:36:48 EEST 2013


On 2013-05-03 1:14 AM, Michael Weissenbacher <mw at dermichi.com> wrote:
> I've been using XFS for many years now and i strongly recommend it for 
> anything besides /boot. Considering a virtual environment i would 
> strongly suggest NOT using nobarrier (i.e. use barrier). You can run 
> into big trouble should the system ever lose power. In fact the only 
> time i ever managed to damage a XFS filesystem on all those years was 
> inside a VM and with the nobarrier option on and the UPS died (and yes 
> the server had a functioning BBS battery attached to the RAID). The 
> delaylog option can be recommended hands-off, since it speeds up 
> metadata operations considerably (up to 10 times faster!). And for 
> your last quesion, stay with the defaults when doing mkfs.xfs, 
> optimizing for stripe width and stipe size and all those other options 
> really only make sense on a physical machine.
>
> hth and good luck,
> Michael

Thanks Michael. Yes, it helped to solidify my decision to stick with 
xfs. I posted my final fstab just a few minutes ago, which I'm now happy 
with.

-- 

Best regards,

Charles




More information about the dovecot mailing list