Incorrect Volume/Dataset sizes reported.

Status
Not open for further replies.

jim82

Dabbler
Joined
Jul 5, 2011
Messages
44
delete please

Hi all,

I know there is more threads on this subject, but I can't seem to figure out why MY system reports incorrect sizes :(

System consists of 2 x vdevs(RAIDZ2) with 8 x 2TB drives in each, which is 32TB raw data. This should give me the following formula for actual disk space to use:

1,8(actual drive size) * 16(number of drives) - 7,2(4 x raidz2 parity) = 21,6TB of useable space.


System info:
FreeNAS 8.01 RELEASE (zfs volume was originally created under BETA2)
/dev/da4 was replaced with a new drive(not relevant for size issues, but anyway)

Here's some outputs:


df -h
Code:
[root@nas01] ~# df -h
Filesystem                        Size    Used   Avail Capacity  Mounted on
/dev/ufs/FreeNASs1a               927M    429M    424M    50%    /
devfs                             1.0K    1.0K      0B   100%    /dev
/dev/md0                          4.3M    3.6M    392K    90%    /etc
/dev/md1                          732K     16K    660K     2%    /mnt
/dev/md2                           75M     23M     46M    33%    /var
/dev/ufs/FreeNASs4                 20M    586K     18M     3%    /data
share                              12T    418K     12T     0%    /mnt/share
share/Billeder-Dok-Musik-Video     12T    559G     12T     4%    /mnt/share/Billeder-Dok-Musik-Video
share/Diverse                      12T    515G     12T     4%    /mnt/share/Diverse
share/Dokumentar                   12T    445G     12T     4%    /mnt/share/Dokumentar
share/Film                         18T    6.3T     12T    35%    /mnt/share/Film
share/TV                           13T    937G     12T     7%    /mnt/share/TV


zfs list
Code:
[root@nas01] ~# zfs list
NAME                             USED  AVAIL  REFER  MOUNTPOINT
share                           8.70T  11.6T   418K  /mnt/share
share/Billeder-Dok-Musik-Video   559G  11.6T   559G  /mnt/share/Billeder-Dok-Musik-Video
share/Diverse                    515G  11.6T   515G  /mnt/share/Diverse
share/Dokumentar                 445G  11.6T   445G  /mnt/share/Dokumentar
share/Film                      6.30T  11.6T  6.30T  /mnt/share/Film
share/TV                         937G  11.6T   937G  /mnt/share/TV


zpool status -v
Code:
[root@nas01] ~# zpool status -v
  pool: share
 state: ONLINE
 scrub: none requested
config:

        NAME                                            STATE     READ WRITE CKSUM
        share                                           ONLINE       0     0     0
          raidz2                                        ONLINE       0     0     0
            gptid/cc2724b3-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/cd2eeeed-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/ce269368-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/cf27ac01-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/d02783a6-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/d12d28e9-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/d238351c-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/d33c3838-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
          raidz2                                        ONLINE       0     0     0
            gptid/fb5838a5-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/fc688fdc-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/fd6716e1-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/fe5c49ea-a997-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            da4p2                                       ONLINE       0     0     0
            gptid/005fc3d5-a998-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/01588140-a998-11e0-ad7a-001b2171e463  ONLINE       0     0     0
            gptid/0262eb74-a998-11e0-ad7a-001b2171e463  ONLINE       0     0     0

errors: No known data errors


gpart show
Code:
[root@nas01] ~# gpart show
=>        34  3907029101  da0  GPT  (1.8T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834703    2  freebsd-zfs  (1.8T)

=>        34  3907029101  da1  GPT  (1.8T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834703    2  freebsd-zfs  (1.8T)

=>        34  3907029101  da2  GPT  (1.8T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834703    2  freebsd-zfs  (1.8T)

=>        34  3907029101  da3  GPT  (1.8T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834703    2  freebsd-zfs  (1.8T)

=>        34  3907029101  da4  GPT  (1.8T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834703    2  freebsd-zfs  (1.8T)

=>        34  3907029101  da5  GPT  (1.8T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834703    2  freebsd-zfs  (1.8T)

=>        34  3907029101  da6  GPT  (1.8T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834703    2  freebsd-zfs  (1.8T)

=>        34  3907029101  da7  GPT  (1.8T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  3902834703    2  freebsd-zfs  (1.8T)

=>     63  3903417  da8  MBR  (1.9G)
       63  1930257    1  freebsd  [active]  (943M)
  1930320       63       - free -  (32K)
  1930383  1930257    2  freebsd  (943M)
  3860640     3024    3  freebsd  (1.5M)
  3863664    41328    4  freebsd  (20M)

=>        34  3907029101  ada0  GPT  (1.8T)
          34          94        - free -  (47K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)

=>        34  3907029101  ada1  GPT  (1.8T)
          34          94        - free -  (47K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)

=>        34  3907029101  ada2  GPT  (1.8T)
          34          94        - free -  (47K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)

=>        34  3907029101  ada3  GPT  (1.8T)
          34          94        - free -  (47K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)

=>        34  3907029101  ada4  GPT  (1.8T)
          34          94        - free -  (47K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)

=>        34  3907029101  ada5  GPT  (1.8T)
          34          94        - free -  (47K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)

=>        34  3907029101  ada6  GPT  (1.8T)
          34          94        - free -  (47K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)

=>        34  3907029101  ada7  GPT  (1.8T)
          34          94        - free -  (47K)
         128     4194304     1  freebsd-swap  (2.0G)
     4194432  3902834703     2  freebsd-zfs  (1.8T)

=>      0  1930257  da8s1  BSD  (943M)
        0       16         - free -  (8.0K)
       16  1930241      1  !0  (943M)



I have also attached a screenshot from the GUI
Capture.jpg

Thanks in advance for any replies.
/Jim
 

Milhouse

Guru
Joined
Jun 1, 2011
Messages
564
It would be useful to see "zpool list"

zfs list
Code:
[root@nas01] ~# zfs list
NAME                             USED  AVAIL  REFER  MOUNTPOINT
share                           8.70T  11.6T   418K  /mnt/share
share/Billeder-Dok-Musik-Video   559G  11.6T   559G  /mnt/share/Billeder-Dok-Musik-Video
share/Diverse                    515G  11.6T   515G  /mnt/share/Diverse
share/Dokumentar                 445G  11.6T   445G  /mnt/share/Dokumentar
share/Film                      6.30T  11.6T  6.30T  /mnt/share/Film
share/TV                         937G  11.6T   937G  /mnt/share/TV

With 11.6TB available, the sum of the used space comes to 8.756TB, add that to the 11.6TB available space and you get about 20.356TB, which is pretty close to your calculated 21.6TB. Or am I missing the obvious here?

The output from df is strange, but I think that's a consequence of using datasets that are layered on top of the same storage pool.
 

jim82

Dabbler
Joined
Jul 5, 2011
Messages
44
Never mind this, just delete. Moving over to something else, even WHS2011 seems better than FN ATM :(
 
Status
Not open for further replies.
Top