Just ruminating and curious...
I will be using a new pool soon and was wondering about this. Normally, as I did initially with this new pool, I create a partition and use that to make my zpool. The reasons I do this (which might be stupid) are so that I can label them (e.g. gpt/DiskB1) and, to a lesser extent, align things on boundaries. Recently, I had to replace some disks in my main storage pool, and I kind of got lucky (I think) that the new disks are the same size as the old ones and I was able to create the same size partitions. But this assumes that drives of the same size (e.g. "2 TB") from different brands or models would have different block/sector counts. With the new pool, I was thinking about using whole raw disks this time around, but the label is pretty useful and I was concerned that if I did that I would be stuck using disks with that exact size (or larger tiers), which led me to this question.
I can easily create a partition that doesn't use the whole disk (or probably a zpool/zfs that doesn't, for the raw disk case). This seems to make some sense to guard against varying disk sizes, but what I am wondering is how much space to carve off? This new pool is using 1 TB SSDs and I created a 900 GB partition, but a 10%/100 GB gap between "1 TB" SSDs from different brands seems like a lot. Would a "1 TB" disk from one company really be 100 GB smaller than a "1 TB" disk from another brand? What percentage or amount makes sense to reserve, or is this all silly and I should just ignore it?
I have found some comments online that lean both ways -- that advertised sizes are standardized, and also that different brands can vary within the same size class.
I will be using a new pool soon and was wondering about this. Normally, as I did initially with this new pool, I create a partition and use that to make my zpool. The reasons I do this (which might be stupid) are so that I can label them (e.g. gpt/DiskB1) and, to a lesser extent, align things on boundaries. Recently, I had to replace some disks in my main storage pool, and I kind of got lucky (I think) that the new disks are the same size as the old ones and I was able to create the same size partitions. But this assumes that drives of the same size (e.g. "2 TB") from different brands or models would have different block/sector counts. With the new pool, I was thinking about using whole raw disks this time around, but the label is pretty useful and I was concerned that if I did that I would be stuck using disks with that exact size (or larger tiers), which led me to this question.
I can easily create a partition that doesn't use the whole disk (or probably a zpool/zfs that doesn't, for the raw disk case). This seems to make some sense to guard against varying disk sizes, but what I am wondering is how much space to carve off? This new pool is using 1 TB SSDs and I created a 900 GB partition, but a 10%/100 GB gap between "1 TB" SSDs from different brands seems like a lot. Would a "1 TB" disk from one company really be 100 GB smaller than a "1 TB" disk from another brand? What percentage or amount makes sense to reserve, or is this all silly and I should just ignore it?
I have found some comments online that lean both ways -- that advertised sizes are standardized, and also that different brands can vary within the same size class.