pool disk space and usage confusion

baby27784

Dabbler
Joined
May 12, 2019
Messages
22
hi everyone

I use freenas as iSCSI for vms. i have 2 pools :

iSCSI-10K-146-mirror zvol size = 255Gib
iSCSI-15K zvol size = 380Gib

1-on iSCSI-15K i have one vm=30G thin used space 23.14 G. but on pool i see 82G used!!!!


1.jpg



2-on iSCSI-10K-146-mirror i see 152G free but in vcenter i see 30G free!!!

2.jpg


3-how can i identify exact used avalable and free space?


Code:
root@freenas[~]# zpool list -v  
NAME                                     SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
freenas-boot                              14G   759M  13.3G        -         -      -     5%  1.00x  ONLINE  -
  da11p2                                  14G   759M  13.3G        -         -      -     5%
iSCSI-10K-146-mirror                     402G   237G   165G        -         -    48%    59%  1.00x  ONLINE  /mnt
  mirror                                 134G  79.5G  54.5G        -         -    47%    59%
    gptid/4ca4ed6b-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/584f9a39-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
  mirror                                 134G  79.2G  54.8G        -         -    48%    59%
    gptid/64990d03-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/7155523a-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
  mirror                                 134G  78.6G  55.4G        -         -    49%    58%
    gptid/7b88383e-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/8600299f-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
iSCSI-15K                                268G  82.2G   186G        -         -    13%    30%  1.00x  ONLINE  /mnt
  mirror                                 134G  41.3G  92.7G        -         -    14%    30%
    gptid/7b462d6a-8f66-11e9-b62a-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/7e7aaa0c-8f66-11e9-b62a-e4115bb9cce6      -      -      -        -         -      -      -
  mirror                                 134G  40.9G  93.1G        -         -    13%    30%
    gptid/8405a421-8f66-11e9-b62a-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/8a9714a3-8f66-11e9-b62a-e4115bb9cce6      -      -      -        -         -      -      -






Code:
root@freenas[~]# zfs list -o space
NAME                                                        AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
freenas-boot                                                12.8G   759M         0     64K              0       759M
freenas-boot/ROOT                                           12.8G   758M         0     29K              0       758M
freenas-boot/ROOT/Initial-Install                           12.8G     1K         0      1K              0          0
freenas-boot/ROOT/default                                   12.8G   758M     2.03M    756M              0          0
iSCSI-10K-146-mirror                                        3.39G   386G         0     88K              0       386G
iSCSI-10K-146-mirror/iSCSI-10K-146-mirror                    152G   386G         0    237G           149G          0
iSCSI-15K                                                    588M   259G         0     88K              0       259G
iSCSI-15K/.system                                            588M  33.5M         0     96K              0      33.4M
iSCSI-15K/.system/configs-229b43ea8de442e68f6896e2baff0028   588M  2.34M         0   2.34M              0          0
iSCSI-15K/.system/cores                                      588M   640K         0    640K              0          0
iSCSI-15K/.system/rrd-229b43ea8de442e68f6896e2baff0028       588M  29.6M         0   29.6M              0          0
iSCSI-15K/.system/samba4                                     588M   232K         0    232K              0          0
iSCSI-15K/.system/syslog-229b43ea8de442e68f6896e2baff0028    588M   604K         0    604K              0          0
iSCSI-15K/.system/webui                                      588M    88K         0     88K              0          0
iSCSI-15K/zvol-15k                     
 

baby27784

Dabbler
Joined
May 12, 2019
Messages
22
Were you able to figure this out?

no
i,m confused.

on iSCSI-10K-146-mirror zvol size i have 150G available but in esxi i have just 30G.
on iSCSI-15K i have 176G available but in esxi h have 226G

i can not understand used,available and refer in freenas.



Code:
root@freenas[~]# zpool list -v
NAME                                     SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
freenas-boot                              14G   761M  13.3G        -         -      -     5%  1.00x  ONLINE  -
  da12p2                                  14G   761M  13.3G        -         -      -     5%
iSCSI-10K-146-mirror                     402G   240G   162G        -         -    53%    59%  1.00x  ONLINE  /mnt
  mirror                                 134G  80.3G  53.7G        -         -    52%    59%
    gptid/4ca4ed6b-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/584f9a39-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
  mirror                                 134G  79.6G  54.4G        -         -    54%    59%
    gptid/64990d03-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/7155523a-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
  mirror                                 134G  79.6G  54.4G        -         -    54%    59%
    gptid/7b88383e-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/8600299f-9583-11e9-a5cd-e4115bb9cce6      -      -      -        -         -      -      -
iSCSI-15K                                268G  83.8G   184G        -         -    18%    31%  1.00x  ONLINE  /mnt
  mirror                                 134G  42.2G  91.8G        -         -    18%    31%
    gptid/7b462d6a-8f66-11e9-b62a-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/7e7aaa0c-8f66-11e9-b62a-e4115bb9cce6      -      -      -        -         -      -      -
  mirror                                 134G  41.6G  92.4G        -         -    18%    31%
    gptid/8405a421-8f66-11e9-b62a-e4115bb9cce6      -      -      -        -         -      -      -
    gptid/8a9714a3-8f66-11e9-b62a-e4115bb9cce6      -      -      -        -         -
    
    
root@freenas[~]# zfs list -o space
NAME                                                        AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
freenas-boot                                                12.8G   760M         0     64K              0       760M
freenas-boot/ROOT                                           12.8G   758M         0     29K              0       758M
freenas-boot/ROOT/Initial-Install                           12.8G     1K         0      1K              0          0
freenas-boot/ROOT/default                                   12.8G   758M     2.03M    756M              0          0
iSCSI-10K-146-mirror                                        3.37G   386G         0     88K              0       386G
iSCSI-10K-146-mirror/iSCSI-10K-146-mirror                    150G   386G         0    239G           147G          0
iSCSI-15K                                                    584M   259G         0     88K              0       259G
iSCSI-15K/.system                                            584M  35.0M         0     96K              0      34.9M
iSCSI-15K/.system/configs-229b43ea8de442e68f6896e2baff0028   584M  3.36M         0   3.36M              0          0
iSCSI-15K/.system/cores                                      584M   640K         0    640K              0          0
iSCSI-15K/.system/rrd-229b43ea8de442e68f6896e2baff0028       584M  30.0M         0   30.0M              0          0
iSCSI-15K/.system/samba4                                     584M   240K         0    240K              0          0
iSCSI-15K/.system/syslog-229b43ea8de442e68f6896e2baff0028    584M   640K         0    640K              0          0
iSCSI-15K/.system/webui                                      584M    88K         0     88K              0          0
iSCSI-15K/zvol-15k                                           176G   259G         0   83.8G           175G          0


root@freenas[~]# zfs list         
NAME                                                         USED  AVAIL  REFER  MOUNTPOINT
freenas-boot                                                 760M  12.8G    64K  none
freenas-boot/ROOT                                            758M  12.8G    29K  none
freenas-boot/ROOT/Initial-Install                              1K  12.8G   756M  legacy
freenas-boot/ROOT/default                                    758M  12.8G   756M  legacy
iSCSI-10K-146-mirror                                         386G  3.37G    88K  /mnt/iSCSI-10K-146-mirror
iSCSI-10K-146-mirror/iSCSI-10K-146-mirror                    386G   150G   239G  -
iSCSI-15K                                                    259G   583M    88K  /mnt/iSCSI-15K
iSCSI-15K/.system                                           35.0M   583M    96K  legacy
iSCSI-15K/.system/configs-229b43ea8de442e68f6896e2baff0028  3.36M   583M  3.36M  legacy
iSCSI-15K/.system/cores                                      640K   583M   640K  legacy
iSCSI-15K/.system/rrd-229b43ea8de442e68f6896e2baff0028      30.0M   583M  30.0M  legacy
iSCSI-15K/.system/samba4                                     240K   583M   240K  legacy
iSCSI-15K/.system/syslog-229b43ea8de442e68f6896e2baff0028    640K   583M   640K  legacy
iSCSI-15K/.system/webui                                       88K   583M    88K  legacy
iSCSI-15K/zvol-15k                                           259G   176G  83.8G  -
 
Top