[Top] [All Lists]

Re: creating a new 80 TB XFS

To: Martin Steigerwald <Martin@xxxxxxxxxxxx>
Subject: Re: creating a new 80 TB XFS
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Fri, 24 Feb 2012 10:51:45 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <201202241720.23581.Martin@xxxxxxxxxxxx>
References: <4F478818.4050803@xxxxxxxxxxxxxxxxx> <20120224150805.243e4906@xxxxxxxxxxxxxxxxxxxx> <4F47B020.4000202@xxxxxxxxxxxxxxxxx> (sfid-20120224_171032_352286_A09775B9) <201202241720.23581.Martin@xxxxxxxxxxxx>
Reply-to: stan@xxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
On 2/24/2012 10:20 AM, Martin Steigerwald wrote:
> Am Freitag, 24. Februar 2012 schrieb Richard Ems:
>>>> MOUNT
>>>> On mount I will use the options
>>>> mount -o noatime,nobarrier,nofail,logbufs=8,logbsize=256k,inode64
>>>> /dev/sdX1 /mount_point
>>> I think that the logbufs/logbsize option matches the default here.
>>> Use delaylog if applicable. See the xfs FAQ.
>> Yes, if I trust the mount manual page, it states "The default value is
>> 8 buffers for any recent kernel." . I suppose 3.2.6 is "a recent
>> kernel", so this could be avoided, but having it explicitly on the
>> mkfs.xfs line does not hurt, or?
>> And for logbsize: "The default value for any recent kernel is 32768."
>> But then at the end of the manual page for mount it says "December
>> 2004", so how actual is this information? Can the default mount values
>> be shown by running mount with some verbose and dry-run parameters?
> Does cat /proc/mounts show them? /proc/mounts is more detailed than mount 
> or mount -l.

Vanilla kernel.org 3.2.6:

~$ cat /proc/mounts
/dev/sda7 /samba xfs rw,relatime,attr2,delaylog,noquota 0 0

It doesn't show the default logbufs and logbsize values.  I asked about
this specific issue over a year ago, because the documentation is
inconsistent, and you can't get the default values out of a running
system.  If you can I don't know how.  If someone stated a method, I
can't recall it. :(

I do recall Dave, IIRC, saying something to the effect of 'just use the
defaults, as they are 8 and 256K in recent kernels anyway'.  That's not
a direct quote, but my recollection.


<Prev in Thread] Current Thread [Next in Thread>