zpool Size Clarification

Status
Not open for further replies.

jbbender22

Dabbler
Joined
Aug 15, 2014
Messages
18
I just set up my FreeNAS box and everything seemed to be running fine. I went through the wizard when I set it up and set up a Raidz2 with my 4TB WD Reds. I have 6 of them and the wizard told me I would have about 14.5 TB, which I expected a number around there.

This morning I was looking around the GUI and in the Storage Volumes screen I noticed my zpool size is way off from 14.5 TB. It shows as me having 20.4 TB available. I've attached a screenshot to show what I mean.

If I ssh into the box and do zpool list It shows as the total size being 21.8 TB which sounds like the size of all the drives together.

Code:
NAME           SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
datapool      21.8T  1.32T  20.4T         -     1%     6%  1.00x  ONLINE  /mnt
freenas-boot  14.5G   698M  13.8G         -      -     4%  1.00x  ONLINE  -


I've also attached a screenshot of the Volume Status page to show it's a Raidz2.

I'm not really sure why it shows "datapool" twice in the Storage Volumes screen. When I was doing the wizard I set the zpool name as "datapool" but I'm not sure why there's also dataset called "datapool".

I'm newer to this, but I think where I went wrong was with using the wizard possibly. Anything on this can be wiped, and I can copy data back to it later.

I apologize for the newb question, but before I put this into production I want to make sure I have all my ducks in a row.

Thanks!
 

Attachments

  • FreeNAS-Storage-Volume.PNG
    FreeNAS-Storage-Volume.PNG
    29.6 KB · Views: 312
  • FreeNAS-Volume-Status.PNG
    FreeNAS-Volume-Status.PNG
    9.2 KB · Views: 304

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
If you do a zpool status does it show as a raidz2 there as well?

If I do zpool list on one of mine, for example, I get:

Code:
NAME           SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
freenas-boot  3.91G   947M  2.98G         -      -    23%  1.00x  ONLINE  -
honeybadger   5.44T  79.6G  5.36T         -     6%     1%  4.62x  ONLINE  /mnt


It's 12x 1TB in 6x2-way mirror, so the 5.44T is indicating the "correct capacity" of the vdevs.

What version of FreeNAS are you running?
 

jbbender22

Dabbler
Joined
Aug 15, 2014
Messages
18
Thanks for the reply. What you have there makes sense.

The version I'm running is FreeNAS-9.3-STABLE-201508250051

Here's the output from zpool status

Code:
  pool: datapool
state: ONLINE
  scan: scrub repaired 0 in 0h55m with 0 errors on Thu Aug 27 10:11:07 2015
config:

        NAME                                            STATE     READ WRITE CKS                                                                                                                                                             UM
        datapool                                        ONLINE       0     0                                                                                                                                                                  0
          raidz2-0                                      ONLINE       0     0                                                                                                                                                                  0
            gptid/6cd41802-4b64-11e5-9df0-0cc47a72093a  ONLINE       0     0                                                                                                                                                                  0
            gptid/6d36c5ba-4b64-11e5-9df0-0cc47a72093a  ONLINE       0     0                                                                                                                                                                  0
            gptid/6d9b16e8-4b64-11e5-9df0-0cc47a72093a  ONLINE       0     0                                                                                                                                                                  0
            gptid/6dfd781d-4b64-11e5-9df0-0cc47a72093a  ONLINE       0     0                                                                                                                                                                  0
            gptid/6e5e1456-4b64-11e5-9df0-0cc47a72093a  ONLINE       0     0                                                                                                                                                                  0
            gptid/6ebfda92-4b64-11e5-9df0-0cc47a72093a  ONLINE       0     0                                                                                                                                                                  0

errors: No known data errors

  pool: freenas-boot
state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        freenas-boot  ONLINE       0     0     0
          da0p2     ONLINE       0     0     0

errors: No known data errors
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Certainly looks like it's a raidz2 as intended.

I haven't brought this machine up to 9.3.1 (which is what you're running) so it's possible there's a bug in the GUI's size reporting, but it wouldn't explain the zpool command showing the wrong size.

If deleting the pool and recreating is a possibility, I'd give that a shot and see if it is still there afterwards. If it is, maybe a bug report is in order.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I'm not really sure why it shows "datapool" twice in the Storage Volumes screen.
The top-level dataset is automatically created with the same name as the pool.
 

jbbender22

Dabbler
Joined
Aug 15, 2014
Messages
18
The top-level dataset is automatically created with the same name as the pool.
Thanks for the clarification on this! I wasn't 100% sure, but I kind of figured such.
 

jbbender22

Dabbler
Joined
Aug 15, 2014
Messages
18
I reinstalled FreeNAS and started over. I get the still get the same numbers in the Storage Volume screen. I'll look into filing a bug if there isn't one already.

I appreciate everyone's input on this!
 

jbbender22

Dabbler
Joined
Aug 15, 2014
Messages
18
Status
Not open for further replies.
Top