xfs
[Top] [All Lists]

Re: creating a new 80 TB XFS

To: xfs@xxxxxxxxxxx, stan@xxxxxxxxxxxxxxxxx
Subject: Re: creating a new 80 TB XFS
From: Martin Steigerwald <Martin@xxxxxxxxxxxx>
Date: Sat, 25 Feb 2012 11:59:47 +0100
In-reply-to: <4F47C021.7010008@xxxxxxxxxxxxxxxxx>
References: <4F478818.4050803@xxxxxxxxxxxxxxxxx> <201202241720.23581.Martin@xxxxxxxxxxxx> <4F47C021.7010008@xxxxxxxxxxxxxxxxx> (sfid-20120224_183621_521804_2AD5C893)
User-agent: KMail/1.13.7 (Linux/3.2.0-1-amd64; KDE/4.7.4; x86_64; ; )
Am Freitag, 24. Februar 2012 schrieb Stan Hoeppner:
> 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.

As I wrote it I thought about that for XFS the option might not be 
displayed. Cause I remember having seen something similar quite some time 
ago.

With NFS this works quite well, also with Ext4 and vfat it seems to me.

I think it would be good to include default options in /proc/mounts.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

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