you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 8 months ago (3 children)

I’m sure you already know this, but do note that with Z2 compared to mirrors, you should expect a decrease in performance and an increase in rebuild times in the event of a drive failure. Not saying don’t do it, but make sure the perceived benefits are worth the trade offs.

Here’s some more info on the topic: https://jrs-s.net/2015/02/06/zfs-you-should-use-mirror-vdevs-not-raidz/.

  • source
  • hideshow 3 child comments
  • [+] [S] 1 point 8 months ago* (last edited 8 months ago) (1 child)
  • [–] 1 point 8 months ago*

    Make sure you scrub weekly. The probability of a second device failure is higher than you think, since it can be triggered by resilvering. I would also make sure you have a spare at hand. With four drives I would run a stripe over mirrors pool. And have a matching spare sitting ready on a shelf.

  • source
  • parent
  • [–] 1 point 8 months ago

    That's still true, but performance has changed a lot since Jim Salter wrote that. There was a time When 2x mirrored vdevs (the equivalent to raid 10) would have been preferable to raidz2, but performance of both ZFS and disks themselves has improved enough that there wouldn't be much of a difference in performance between these two in a home lab.

    Personally, I agree with you in that mirrors are preferable, mostly because I don't really need high availability as much as I want an easier time restoring if a disk fails.

  • source
  • parent