mkfs.xfs -d su=XXX,sw=YYY and future volume resize

Carlos Maiolino cmaiolino at redhat.com
Fri Jul 15 04:46:47 CDT 2016


On Thu, Jul 14, 2016 at 10:19:02PM +0200, Marcin Sura wrote:
>    Hi,
>    When I create filesystem I can specify su and sw paramteres which match
>    underlying storage device.
>    So for example, If I have raid 6 volume made of 6 + 2 disks with stripe
>    size of 256k I create xfs with:
>    mkfs.xfs -d su=256k,sw=6 <disk>
>    But what if I will extend original volume by 2 disks. sw will 8. Will
>    be there a performance panelty compared to filesystem created from
>    scratch with correct sw parameter?
>    BR
>    Marcin

Complementing Dave's answer, you can also mount the filesystem with new
alignment configuration.

You can use: sunit=value and swidth=value for mounting the FS with the new
settings. man xfs for more info.

Cheers

> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs


-- 
Carlos



More information about the xfs mailing list