Freebsd – How to determine what RAIDZ level the volume is using

freebsdraidzzfs

I am looking at a ZFS volume on FreeBSD system, and I have no idea what RAIDZ level it is configured at. How can I find out using the ZFS command line or other?

I tried "zpool status" already, and got this:

    TANK                                            ONLINE       0     0     0
      raidz1-0                                      ONLINE       0     0     0
        gptid/19481bef-c121-11e3-bd5b-0cc47a005e96  ONLINE       0     0     0
        gptid/1a09563a-c121-11e3-bd5b-0cc47a005e96  ONLINE       0     0     0
        gptid/1ac63968-c121-11e3-bd5b-0cc47a005e96  ONLINE       0     0     0
        gptid/1b884b06-c121-11e3-bd5b-0cc47a005e96  ONLINE       0     0     0
        gptid/1c4697ff-c121-11e3-bd5b-0cc47a005e96  ONLINE       0     0     0

the thing that seems even close to what I'm looking for is "raidz1-0" but I'm thinking that is a numbering scheme only and not an actual raid level.

Best Answer

zpool status will list all of the drives and their layout, including mirror/RAID level.

In your case, raidz1-0 means you are running raidz1 and the group number is 0.