Calculating swidth On A RAID6 Volume

Emmanuel Florac eflorac at intellique.com
Tue Jul 20 09:44:44 CDT 2010


Le Tue, 20 Jul 2010 16:13:29 +0200
Michael Weissenbacher <mw at dermichi.com> écrivait:

>  
> IIRC sunit and swidth are both specified in units of 512 bytes (don't
> ask me why) 

Because this is the disk block size for all disks drives ever made
except the very latest ones (4096 bytes blocks) and the special
RAID-formatted 520 bytes sometimes in use in the past.

> so a sunit value of 512 would mean 256KB stripe size which
> is correct :-)

exactly. Or use su and sw to specify the size in k, m, etc.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------




More information about the xfs mailing list