Creating a ZFS RAID pool

From Peter Pap's Technowiki
Revision as of 03:41, 28 April 2011 by Ppapa (talk | contribs) (Created page with "Again, ridiculously simple: zpool create poolname raidz disk1 disk2 disk3 ...... So it would look like: zpool create storage raidz c1t2d0 c1t3d0 c1t4d0 c1t5d0 c1t6d0 c1t7d...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Again, ridiculously simple:

 zpool create poolname raidz disk1 disk2 disk3 ......

So it would look like:

 zpool create storage raidz c1t2d0 c1t3d0 c1t4d0 c1t5d0 c1t6d0 c1t7d0

This will create a RAID 5 pool, single parity, by default. If you have disks to burn and want the extra safety of dual parity RAID 6, then do:

 zpool create storage raidz2 c1t2d0 c1t3d0 c1t4d0 c1t5d0 c1t6d0 c1t7d0