r/linuxadmin • u/cosurgi • Jan 17 '26
mdadm raid1 at three different speeds ?
So I am planning to make an mdadm raid1 on on three different drives:
- M.2 SSD 14 GB/sec speed
- SATA SSD 600 MB/sec speed -writeonly
- SATA HDD 100 MB/sec speed -writeonly
will the -writeonly hiccup somehow, due to having to work with two different speeds of the hard drives?
Does anybody have some experience here with -writeonly having to work in such unusual configuration?
6
Upvotes
6
u/Korkman Jan 17 '26
You will be limited to the lowest speed on writes. You can add --write-behind for some relief (256 write ops is not much), but at the same time you would have to enable --bitmap which will cause some overhead. Write performance will be heavily limited by the HDD.
3
u/robvas Jan 17 '26
What's the point of doing this?
12
u/fubes2000 Jan 17 '26
I'm sure that it will handle it gracefully and force everything to run at 100MB/s.
Do not do this. Do literally anything other than this.
4
u/Low-Opening25 Jan 18 '26
If mixing drive types in a RAID, overall performance will be at a level of the slowest disk.
2
u/[deleted] Jan 18 '26
writes will perform like HDD, reads will perform like M2 SSD. most IO is read. data only written but not [ever] read is pointless.