How to add a mirror to an existing ZFS pool (Doc ID 1370224.1)

Last updated on AUGUST 01, 2016

Applies to:

Solaris Operating System - Version 10 3/05 and later
Information in this document applies to any platform.

Goal

How to mirror a volume using ZFS:

In our example, we start with this non-redundant configuration:

 

It's unclear if we should use zpool add or attach sub-commands, and that's what we will explain here.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms