HowTo : Create Mirrored Vdev Zpool

Mirrored Vdev’s are equivalent to a RAID1 array, with the added bonus of checksum data to prevent silent data corruption. The performance of a Mirrored Vdev Zpool will be very similar to a RAID1 array.

To create a Mirrored Vdev Zpool first run the format command to find the disks that you have in your system.

Format Command

Once you have run the format command, you should have a list of disks that you can select for your Zpool. Select the ones that you would like to use (we’ll use c4t5d0 and c4t6d0) and issue this command :

zpool create tank mirror c4t5d0 c4t6d0

Once you issue that command, it should build the zpool. Run the “zpool status” command to make sure it was created as expected.

Create Mirror Image

Thursday, June 3rd, 2010 RAID, ZFS

1 Comment to HowTo : Create Mirrored Vdev Zpool

  • […] Mirrored Vdev’s (RAID1) This is akin to RAID1. If you mirror a pair of Vdev’s (each Vdev is usually a single hard drive) it is just like RAID1, except you get the added bonus of automatic checksumming. This prevents silent data corruption that is usually undetectable by most hardware RAID cards. Another bonus of mirrored Vdev’s in ZFS is that you can use multiple mirrors. If we wanted to mirror all 20 drives on our ZFS system, we could. We would waste an inordinate amount of space, but we could sustain 19 drive failures with no loss of data. How To Create Mirrored Vdev Zpool […]

  • Leave a Reply

    You must be logged in to post a comment.