Comment on Help choosing a good HDD for my home server?
conrad82@lemmy.world 5 days agoOne note,
I used a raid with WD 8 TB drives, and when a drive failed we bought a Seagate Ironwolf Pro 8 TB to replace it.
The NAS wouldn’t accept it into the raid, because it had fewer bytes!
We found a workaround by tweaking partition sizes for that particular raid, but it caught me by surprise.
this was mdadm, not sure if zfs has some awareness to slightly differences in sizes between hdd models
frongt@lemmy.zip 5 days ago
Yes, unfortunately 8tb on one drive is not necessarily the exact same as 8tb on any other model drive, even from the same manufacturer. Where possible, you should replace with as close a model as you can get.
If you’re expecting to mix and match, it’s a good idea to leave a little slack space at the end to account for this. Else you may have to fiddle with the partitions as you found, or at worst start a whole new array with the smaller drive and migrate the others.
This, make a partition thats a few gigs smaller than the drive, add the partitions to the storagr pool instead of the raw drives.
voklen@programming.dev 5 days ago
The Arch Wiki recommends 100MiB so you don’t need to sacrifice too much space wiki.archlinux.org/title/RAID#Partition_the_devic…