does chunksize matter in raid-1?
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?
-Jeff
Quoted 9 lines · Jeff Breidenbach
Does chunk size matter *at all* for RAID-1?
mdadm --create
/dev/md0--level=1 --chunk=8/dev/sdc1/dev/sdd1mdadm --create/dev/md0--level=1 --chunk=128/dev/sdc1/dev/sdd1In 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
Quoted 1 line · Paul Clements
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.
Yet if you use raidtools and /etc/raidtab you must specify chunksize it to create a RAID1....
In other words, stick to mdadm.
-ryan