NOOB: How to create 10 disk ZFS pool consisting of 2 x 5 disk Z1 vdev?

Status
Not open for further replies.

esamett

Patron
Joined
May 28, 2011
Messages
345
I have been playing with the 8.0 GUI and have gotten "good" at creating and destroying ZFS volumes made out of a single vdev. It is not intuitively obvious to me how to create a volume consisting of two equal sized vdev of 5 disks each. The idea being to make upgrading easier in future.

Thanks.
 
Joined
May 27, 2011
Messages
566
it would be better to create a raidz2 out of all 10. it can always withstand loosing 2 disks whereas a stripped pair of 5 disk raidz's could sometimes but not all times withstand 2 lost disks. that being said, i too think the interface has been simplified to far, not allowing users to fully leverage the power of zfs.
 

emerge

Cadet
Joined
May 31, 2011
Messages
2
Create a 5 disk raidZ volume
Create another 5 disk raidZ volume and use the same path as for the first volume you created
freenas will do # zpool add in the background, so you end up with a pool that consists of two raidZs like this:
Code:
freenas# zpool status
  pool: raid50
 state: ONLINE
 scrub: none requested
config:

        NAME         STATE     READ WRITE CKSUM
        raid50       ONLINE       0     0     0
          raidz1     ONLINE       0     0     0
            gpt/da1  ONLINE       0     0     0
            gpt/da2  ONLINE       0     0     0
            gpt/da3  ONLINE       0     0     0
          raidz1     ONLINE       0     0     0
            gpt/da4  ONLINE       0     0     0
            gpt/da5  ONLINE       0     0     0
            gpt/da6  ONLINE       0     0     0

errors: No known data errors
 
Status
Not open for further replies.
Top