Re: mount options question

Stefan Ring
2014-08-29T06:31:52Z

On Thu, Aug 28, 2014 at 1:07 AM, Dave Chinner <david@fromorbit.com> wrote:
> On Wed, Aug 27, 2014 at 12:14:21PM +0200, Marko Weber|8000 wrote:
>>
>> sorry dave and all other,
>>
>> can you guys recommend me the most stable / best mount options for
>> my new server with ssd´s and XFS filesystem?
>>
>> at moment i would set: defaults,nobarrier,discard,logbsize=256k,noikeep
>> or is just "default" the best solution and xfs detect itself whats best.
>>
>> can you guide me a bit?
>>
>> as eleavtor i set elevator=noop
>>
>> i setup disks with linux softraid raid1. On top of the raid is LVM
>> (for some data partations).
>>
>>
>> would be nice to hear some tipps from you
>
> Unless you have specific requirements or have the knowledge to
> understand how the different options affect behaviour, then just use
> the defaults.

Mostly agreed, but using "discard" would be a no-brainer for me. I
suppose XFS does not automatically switch it on for non-rotational
storage.