Re: does chunksize matter in raid-1?

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

 



Jeff Breidenbach wrote:
Does chunk size matter *at all* for RAID-1?

mdadm --create /dev/md0 --level=1 --chunk=8 /dev/sdc1 /dev/sdd1 mdadm --create /dev/md0 --level=1 --chunk=128 /dev/sdc1 /dev/sdd1

In my mental model of how RAID works, it can't possibly matter
what my chunk size is whether I've got 1KB files or 1GB files because
no striped reading occurs.
Is my mental model wrong?


No, chunk size does not matter for raid1. In fact, some/most? kernels will print a message to that effect if you specify a chunk size for a raid1 array.

--
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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