Sunday, November 17, 2024
HomeSolarisSolaris system administrationZFS: Create a Mirrored Storage Pool

ZFS: Create a Mirrored Storage Pool

Anyone who has used DiskSuite to mirror drives in Solaris knows that, while not difficult, the multiple steps involved are fertile ground for (potentially devastating) heartache. This is not the case with ZFS. Creating a mirrored pool with ZFS makes DiskSuite look like rocket surgery.


To create a mirrored pool ‘stuff’ out of the disks c0t0d0 and c0t1d0, use the following command:

zpool create stuff mirror c0t0d0 c0t1d0

It is done. Who needs GUIs? The filesystem mounted as /stuff is mirrored and ready for use. A mirrored ZFS filesystem can be used exactly like other ZFS filesystems.

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!