How to set up FreeNAS to use mirrored vdevs

freenashome-servernasstoragezfs

I'm setting up a home-use FreeNAS – storage of photos, media, laptop backups and so forth for a pair of users and half a dozen laptops, phones, tablets. I have 4x 3TB drives. I'm deciding on the drive/zpool topology.

This blog post makes a (to me) set of convincing arguments for using mirror vdevs instead of raidz.

I believe I would like:

  • 2 vdevs of 2 drives each
  • drives mirrored in each vdev
  • 1 zpool containing both vdevs

My question – how do I set that up within FreeNAS? Is it possible via the GUI (and if so, how?), or do I need to drop down to the shell?

Best Answer

It is the same as with other vdev types. The FreeNAS documentation explains how it is done, see figure and table 8.1a for details. Note that only available disks will be shown and they limit the possible configurations, so make sure that all your disks are properly recognized.

If it does not work this way, you could also create a striped pool out of two single disk vdevs and then immediately attach a disk to each vdev (resilvering will be nearly instantaneous).

You can also do it in the shell, but I would try with the GUI first.

Related Question