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

- Advertisment -

Most Popular

Recent Comments

Cleveland Furia on How to Clear Google Activity
Sid Wohlfarth on How to Clear Google Activity
Riley Magsayo on How to Clear Google Activity
สมัครรับเครดิตฟรี ทันที on How to improve Remote Desktop Protocol Performance
Neal Wangstad on How to Clear Google Activity
Slavcho Andov on How to install Ubuntu
Slavcho Andov on How to fix bad sectors
Sheraz Ali on How to Backup Android