selecting the same size hdd also does the sam,e, as it should (i.e. its not that its swapped identification)
manually adding the disks like this works, funny bug! it really confused me when making my disks id script… couldn’t figure out why it insisted my nvme pool had hdd in it
findSuitableDisks() just doesn’t seem to consider disk type at all.
In fact, it looks like it prioritizes HDD if there are both types of the same size.
No idea if this is intentional or not, I assume it isn’t. I’ve got a fix working in my development environment to only return disks of a specified type:
thanks! marked as solution seems like a reasonable code change you requested as this could seriously paint some customers into a corner if the add is permanent for a special vdev?
i wonder if this was a regression or has always been like this!
“Replace” does not redistribute anything: Data is copied and then the drive is removed (or data is reconstructed from remaining drives in the vdev if you removed the drive first).