RAID5/10 chunk size and ext2/3 stride parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I cannot find authoritative information about the relation between
the RAID chunk size and the correct stride parameter to use when
creating an ext2/3 filesystem.

My understanding is that (block * stride) == (chunk). So if I create
a default RAID5/10 with 64k chunks, and create a filesystem with 4k
blocks on it, I should choose stride 64k/4k = 16.

Is the chunk size of an array equal to the stripe size? Or is it
(n-1)*chunk size for RAID5 and (n/2)*chunk size for a plain near=2
RAID10?

Also, I understand that it makes no sense to use stride for RAID1 as
there are no stripes in that sense. But for RAID10 it makes sense,
right?

Thanks,

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
 
spamtraps: madduck.bogus@xxxxxxxxxxx
 
"i like wagner's music better than anybody's. it is so loud that one
 can talk the whole time without other people hearing what one says."
                                                        -- oscar wilde

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux