Difference between revisions of "Creating a ZFS RAID pool"
From Peter Pap's Technowiki
(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...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
zpool create storage '''raidz2''' c1t2d0 c1t3d0 c1t4d0 c1t5d0 c1t6d0 c1t7d0 | zpool create storage '''raidz2''' c1t2d0 c1t3d0 c1t4d0 c1t5d0 c1t6d0 c1t7d0 | ||
+ | |||
+ | By default the RAID pool, like all ZFS pools, will be mounted at /poolname. In this example, it would be mounted at /storage. |
Latest revision as of 03:43, 28 April 2011
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
By default the RAID pool, like all ZFS pools, will be mounted at /poolname. In this example, it would be mounted at /storage.