Go to main content

Managing ZFS File Systems in Oracle® Solaris 11.4

Exit Print View

Updated: February 2021

Creating a Mirrored Storage Pool

To create a mirrored pool, use the mirror keyword. To configure multiple mirrors, repeat the keyword on the command line. The following command creates a pool system1 with two top-level virtual devices.

zpool create system1 mirror c1d0 c2d0 mirror c3d0 c4d0

Both virtual devices are two-way mirrors. Data is dynamically striped across both mirrors, with data being redundant between each disk appropriately.

For more information about recommended mirrored configurations, see Recommended Oracle Solaris ZFS Practices.

You can perform the following operations on ZFS mirrored configurations:

For an example of how to configure ZFS with a mirrored storage pool, see Example 1, Configuring a Mirrored ZFS File System.