I've read this excellent question about how to deal with several disks of different sizes. Parasietje's accepted answer was great.
Two or three related questions :
- Let's say I have three disks : 40 GB, 80 GB, 320 GB. What is the best strategy to maximize disk space availability (and ensure safety) ? We could agregate 80+40=120 and replicate this virtual device to the big disk, there is 200 GB lost here. Is there a better refinement ? How to do this calculation with the ZFS strategy Parasietje talks about ?
- Let's say that I plan to add later a couple of 80 GB disks to the cluster, and don't want to reinstall the whole thing. Is there a better strategy than use them to expand the virtual device ?
- Let's say now that I want to tolerate two faulty drives with this new harware (1x40, 3x80, 1x320). I guess that the smaller is useless and I should do a RAID-6 on the remaning drives, giving me 160 GB of available space. Any better idea ?