linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Looking for advice on creating XFS on a large (to me) RAID
@ 2011-11-03 16:29 Krzysztof Adamski
  2011-11-03 17:14 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Adamski @ 2011-11-03 16:29 UTC (permalink / raw)
  To: linux-fsdevel

Hi All,

I'm about to create a XFS file system on a MD RAID6 made up of 12 3T
drives.

This is the command line that I was planning to use:

# mkfs.xfs  -l lazy-count=1 -s size=4096 -N /dev/md7
         =                       sectsz=4096  attr=2, projid32bit=0
data     =                       bsize=4096   blocks=7320776704,imaxpct=5
         =                       sunit=128    swidth=1280 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=521728, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0


This is the MD examine for one of the drives:
Nitrogen:~# mdadm -E /dev/sda2
/dev/sda2:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : ee8cb70e:2f40f34f:79d46ade:4b12c78b
  Creation Time : Tue Nov  1 17:03:38 2011
     Raid Level : raid6
   Raid Devices : 12

 Avail Dev Size : 5856624640 (2792.66 GiB 2998.59 GB)
     Array Size : 58566236160 (27926.56 GiB 29985.91 GB)
  Used Dev Size : 5856623616 (2792.66 GiB 2998.59 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 72fa45ca:775f244d:15b030fe:f569fe8c

Internal Bitmap : 8 sectors from superblock
    Update Time : Thu Nov  3 11:07:39 2011
       Checksum : 4c72bfd4 - correct
         Events : 11029

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAAAAAAAAAA ('A' == active, '.' == missing)

# mkfs.xfs -V
mkfs.xfs version 3.1.4

System is Debian Squeeze with self compiled 3.0.8 kernel (64bit)

Should I change any default parameters to mkfs.xfs

If I didn't provide any important info let me know.

Thanks in advance,
K



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-03 17:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 16:29 Looking for advice on creating XFS on a large (to me) RAID Krzysztof Adamski
2011-11-03 17:14 ` Christoph Hellwig
2011-11-03 17:45   ` Krzysztof Adamski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).