Issue with RHEL6 mkfs.xfs (3.1.1+), HP P420 RAID, and MySQL replication
Hogan Whittall
whittalh at yahoo-inc.com
Sun Jul 12 22:59:21 CDT 2015
It's also missing from the command help output as well, but does seem to be there. So, yeah, no man page or command output updates made me think that it was missing completely. Thanks! This makes things much easier. :)
[root ~]# mkfs.xfs -V
mkfs.xfs version 3.1.1
[root ~]# mkfs.xfs
no device name given in argument list
Usage: mkfs.xfs
/* blocksize */ [-b log=n|size=num]
/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
(sunit=value,swidth=value|su=num,sw=num),
sectlog=n|sectsize=num
/* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,
projid32bit=0|1]
/* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n
sunit=value|su=num,sectlog=n|sectsize=num,
lazy-count=0|1]
/* label */ [-L label (maximum 12 characters)]
/* naming */ [-n log=n|size=num,version=2|ci]
/* prototype file */ [-p fname]
/* quiet */ [-q]
/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
/* sectorsize */ [-s log=n|size=num]
/* version */ [-V]
devicename
<devicename> is required unless -d name=xxx is given.
<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),
xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).
<value> is xxx (512 byte blocks).
[root@ ~]# mkfs.xfs -N -f /dev/mapper/sys-home -d noalign
meta-data=/dev/mapper/sys-home isize=256 agcount=4, agsize=71271680 blks
= sectsz=512 attr=2, projid32bit=0
data = bsize=4096 blocks=285086720, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0
log =internal log bsize=4096 blocks=139202, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
-Hogan
----- Original Message -----
From: Dave Chinner <david at fromorbit.com>
To: Hogan Whittall <whittalh at yahoo-inc.com>
Cc: "xfs at oss.sgi.com" <xfs at oss.sgi.com>
Sent: Sunday, July 12, 2015 7:13 PM
Subject: Re: Issue with RHEL6 mkfs.xfs (3.1.1+), HP P420 RAID, and MySQL replication
On Fri, Jul 10, 2015 at 11:15:04PM +0000, Hogan Whittall wrote:
> As for the noalign option, that would be great to have but it does
> not exist in version 3.1.1 which RHEL6 uses. It sounds like not
$ gl -n 1 63a6384
commit 63a63844f8a02f34cbb724086a1f0bac492f25b3
Author: Nathan Scott <nathans at sgi.com>
Date: Wed Mar 23 02:56:17 2005 +0000
Add noalign suboptions to -d and -r to allow auto-stripe-alignment to be switched off.
Merge of master-melb:xfs-cmds:21924a by kenmcd.
$
The noalign option has been in mkfs since 2005, so it's most
certainly supported on RHEL6.
Looking at the man page history, I forgot that it wasn't documented
until 2013 and hence is missing from the RHEL6 man page, so I can
understand why you might be saying this.
-Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list