jgreco
Resident Grinch
- Joined
- May 29, 2011
- Messages
- 18,680
Good point, "copies=2", (or 3), would only help on RAID-Z1, if their were 2 or more RAID-Z1 vDevs. ZFS is supposed to write the second copy to another vDev, if possible.
Yes, that's true. I wonder how often this is actually done in the real world though. ZFS already stores several copies of critical metadata (and if memory serves does spread it amongst vdevs). The primary practical use for copies= would appear to be data stored on a single hard drive (or maybe a pure stripe of several hard drives). Making twitchy failure-prone RAIDZ1 vdevs and then relying on copies= instead of robustly designed vdevs for redundancy seems like it would be wasteful of raw space, and it would be better to just go with a wider vdev and RAIDZ2 or RAIDZ3. Just goes to show you all the weird things you can do with ZFS.