Product SiteDocumentation Site

2.2.3. Exercise 3

Make an XFS filesystem that is aligned on stripe width/unit boundaries:
  1. Create the stripe aligned filesystem.
    # mkfs -t xfs -f -d sunit=256,swidth=2048 /dev/sda4
    meta-data=/dev/sda4              isize=256    agcount=16, agsize=461632 blks
             =                       sectsz=512   attr=0
    data     =                       bsize=4096   blocks=7385872, imaxpct=25
             =                       sunit=32     swidth=256 blks, unwritten=1
    naming   =version 2              bsize=4096
    log      =internal log           bsize=4096   blocks=3616, version=1
             =                       sectsz=512   sunit=0 blks
    realtime =none                   extsz=65536  blocks=0, rtextents=0
    
    The sunit and swidth values displayed by mkfs are in filesystem blocks (ie 32 * 4KB = 128KB)
MediaWiki Appliance - Powered by TurnKey Linux