Mismatch between reported pool usage % and actual Filesize.

Joined
Aug 19, 2022
Messages
4
Hey all, I'm new to TrueNas and recently repurposed an old gaming tower as a non critical NAS.

I currently have:
Gigabyte ultra durable GA-970A-DS3P Motherboard
AMD FX-6300
16gb of 2333mhz DDR3
A mash up of 4 1tb drives (Based on what drives I had lying around) they are aranged in a striped configuration. 1 drive per vdev, 4 vdevs in the pool. (I'm completly aware that striped is likely to cause data loss in case of failure, as for the vdev configuration, I honestly have no idea. Could be fine, could cause problems.)
For the network card I'm just running the built in RealTek chip on my Motherboard. 1000Mbit
I'm running TrueNAS-13.0-U1.1 from a usb 2 drive.

As the title states, I'm having issues regarding the reported size in the GUI. My system tree is looking like this:
TrueNas system.PNG


I'm noticing that Pool 1 and Storage Pool 1 are reporting over 2 TiB being used, however my actual shared data sets take up far less, about 732.5 GiB. Leaving me with less space then I expected.

So far, I have:

-Checked with FileZilla, WinSCP, and CyberDuck for any possible hidden folders that Windows isn't reporting.
-Checked with Windows File Explorer for any files
-Rebooted my NAS
-Ran zfs list and gotten this back:
Code:
root@truenas[~]# zfs list
NAME                                                      USED  AVAIL     REFER MOUNTPOINT
Pool 1                                                   2.13T  1.38T       96K /mnt/Pool 1
Pool 1/.system                                           44.5M  1.38T      112K legacy
Pool 1/.system/configs-81963fc7279b4cf49c43e5a8cbe36cdb   424K  1.38T      360K legacy
Pool 1/.system/cores                                      160K  1024M       96K legacy
Pool 1/.system/rrd-81963fc7279b4cf49c43e5a8cbe36cdb      38.7M  1.38T     24.1M legacy
Pool 1/.system/samba4                                    1.70M  1.38T      340K legacy
Pool 1/.system/services                                    96K  1.38T       96K legacy
Pool 1/.system/syslog-81963fc7279b4cf49c43e5a8cbe36cdb   3.11M  1.38T     1.76M legacy
Pool 1/.system/webui                                       96K  1.38T       96K legacy
Pool 1/Storage Pool 1                                    2.12T  1.38T      132K /mnt/Pool 1/Storage Pool 1
Pool 1/Storage Pool 1/BearDataset                         117G  1.38T      117G /mnt/Pool 1/Storage Pool 1/BearDataset
Pool 1/Storage Pool 1/BearMediaSet                        559G  1.38T      559G /mnt/Pool 1/Storage Pool 1/BearMediaSet
Pool 1/Storage Pool 1/Linux-ljrb4                        55.1G  1.43T     4.33G -
Pool 1/Storage Pool 1/Syncing and Backups                1.82G  1.38T     1.81G /mnt/Pool 1/Storage Pool 1/Syncing and Backups
Pool 1/iocage                                            9.59G  1.38T     7.83M /mnt/Pool 1/iocage
Pool 1/iocage/download                                   1.03G  1.38T      104K /mnt/Pool 1/iocage/download
Pool 1/iocage/download/12.3-RELEASE                       403M  1.38T      403M /mnt/Pool 1/iocage/download/12.3-RELEASE
Pool 1/iocage/download/13.0-RELEASE                       401M  1.38T      401M /mnt/Pool 1/iocage/download/13.0-RELEASE
Pool 1/iocage/download/13.1-RELEASE                       251M  1.38T      251M /mnt/Pool 1/iocage/download/13.1-RELEASE
Pool 1/iocage/images                                       96K  1.38T       96K /mnt/Pool 1/iocage/images
Pool 1/iocage/jails                                      5.29G  1.38T      120K /mnt/Pool 1/iocage/jails
Pool 1/iocage/jails/ADGuardServer                        90.4M  1.38T      308K /mnt/Pool 1/iocage/jails/ADGuardServer
Pool 1/iocage/jails/ADGuardServer/root                   90.1M  1.38T     90.1M /mnt/Pool 1/iocage/jails/ADGuardServer/root
Pool 1/iocage/jails/EmbyServer                           2.10G  1.38T      300K /mnt/Pool 1/iocage/jails/EmbyServer
Pool 1/iocage/jails/EmbyServer/root                      2.10G  1.38T     2.10G /mnt/Pool 1/iocage/jails/EmbyServer/root
Pool 1/iocage/jails/Guacamole                            1.25G  1.38T      328K /mnt/Pool 1/iocage/jails/Guacamole
Pool 1/iocage/jails/Guacamole/root                       1.25G  1.38T     1.25G /mnt/Pool 1/iocage/jails/Guacamole/root
Pool 1/iocage/jails/MineOS                                969M  1.38T      360K /mnt/Pool 1/iocage/jails/MineOS
Pool 1/iocage/jails/MineOS/root                           969M  1.38T      969M /mnt/Pool 1/iocage/jails/MineOS/root
Pool 1/iocage/jails/OpenVPN                              69.3M  1.38T      340K /mnt/Pool 1/iocage/jails/OpenVPN
Pool 1/iocage/jails/OpenVPN/root                         69.0M  1.38T     69.0M /mnt/Pool 1/iocage/jails/OpenVPN/root
Pool 1/iocage/jails/SyncThing                             859M  1.38T      308K /mnt/Pool 1/iocage/jails/SyncThing
Pool 1/iocage/jails/SyncThing/root                        859M  1.38T      854M /mnt/Pool 1/iocage/jails/SyncThing/root
Pool 1/iocage/log                                         232K  1.38T      152K /mnt/Pool 1/iocage/log
Pool 1/iocage/releases                                   3.26G  1.38T      104K /mnt/Pool 1/iocage/releases
Pool 1/iocage/releases/12.3-RELEASE                      1.32G  1.38T       96K /mnt/Pool 1/iocage/releases/12.3-RELEASE
Pool 1/iocage/releases/12.3-RELEASE/root                 1.32G  1.38T     1.32G /mnt/Pool 1/iocage/releases/12.3-RELEASE/root
Pool 1/iocage/releases/13.0-RELEASE                      1.31G  1.38T       96K /mnt/Pool 1/iocage/releases/13.0-RELEASE
Pool 1/iocage/releases/13.0-RELEASE/root                 1.31G  1.38T     1.31G /mnt/Pool 1/iocage/releases/13.0-RELEASE/root
Pool 1/iocage/releases/13.1-RELEASE                       644M  1.38T       96K /mnt/Pool 1/iocage/releases/13.1-RELEASE
Pool 1/iocage/releases/13.1-RELEASE/root                  644M  1.38T      644M /mnt/Pool 1/iocage/releases/13.1-RELEASE/root
Pool 1/iocage/templates                                    96K  1.38T       96K /mnt/Pool 1/iocage/templates
boot-pool                                                1.29G  26.3G       24K none [/code ]

I'm no expert, but I don't see 2.2 TiB worth of information there. If I map a share to windows, I only see the "1.38tib" available.

I've read through a few posts on the forums about similar topics, however they were for older versions of TrueNas or even FreeNas. The one that was marked as "Solved" was solved through a Reboot. The others were discussions about possible GUI Bugs, or browser caching. Or just outright too technical for me to understand at the moment.
 
Joined
Aug 19, 2022
Messages
4
Hey all, I'm new to TrueNas and recently repurposed an old gaming tower as a non critical NAS.

I currently have:
Gigabyte ultra durable GA-970A-DS3P Motherboard
AMD FX-6300
16gb of 2333mhz DDR3
A mash up of 4 1tb drives (Based on what drives I had lying around) they are aranged in a striped configuration. 1 drive per vdev, 4 vdevs in the pool. (I'm completly aware that striped is likely to cause data loss in case of failure, as for the vdev configuration, I honestly have no idea. Could be fine, could cause problems.)
For the network card I'm just running the built in RealTek chip on my Motherboard. 1000Mbit
I'm running TrueNAS-13.0-U1.1 from a usb 2 drive.

As the title states, I'm having issues regarding the reported size in the GUI. My system tree is looking like this:
View attachment 57797

I'm noticing that Pool 1 and Storage Pool 1 are reporting over 2 TiB being used, however my actual shared data sets take up far less, about 732.5 GiB. Leaving me with less space then I expected.

So far, I have:

-Checked with FileZilla, WinSCP, and CyberDuck for any possible hidden folders that Windows isn't reporting.
-Checked with Windows File Explorer for any files
-Rebooted my NAS
-Ran zfs list and gotten this back:
Code:
root@truenas[~]# zfs list
NAME                                                      USED  AVAIL     REFER MOUNTPOINT
Pool 1                                                   2.13T  1.38T       96K /mnt/Pool 1
Pool 1/.system                                           44.5M  1.38T      112K legacy
Pool 1/.system/configs-81963fc7279b4cf49c43e5a8cbe36cdb   424K  1.38T      360K legacy
Pool 1/.system/cores                                      160K  1024M       96K legacy
Pool 1/.system/rrd-81963fc7279b4cf49c43e5a8cbe36cdb      38.7M  1.38T     24.1M legacy
Pool 1/.system/samba4                                    1.70M  1.38T      340K legacy
Pool 1/.system/services                                    96K  1.38T       96K legacy
Pool 1/.system/syslog-81963fc7279b4cf49c43e5a8cbe36cdb   3.11M  1.38T     1.76M legacy
Pool 1/.system/webui                                       96K  1.38T       96K legacy
Pool 1/Storage Pool 1                                    2.12T  1.38T      132K /mnt/Pool 1/Storage Pool 1
Pool 1/Storage Pool 1/BearDataset                         117G  1.38T      117G /mnt/Pool 1/Storage Pool 1/BearDataset
Pool 1/Storage Pool 1/BearMediaSet                        559G  1.38T      559G /mnt/Pool 1/Storage Pool 1/BearMediaSet
Pool 1/Storage Pool 1/Linux-ljrb4                        55.1G  1.43T     4.33G -
Pool 1/Storage Pool 1/Syncing and Backups                1.82G  1.38T     1.81G /mnt/Pool 1/Storage Pool 1/Syncing and Backups
Pool 1/iocage                                            9.59G  1.38T     7.83M /mnt/Pool 1/iocage
Pool 1/iocage/download                                   1.03G  1.38T      104K /mnt/Pool 1/iocage/download
Pool 1/iocage/download/12.3-RELEASE                       403M  1.38T      403M /mnt/Pool 1/iocage/download/12.3-RELEASE
Pool 1/iocage/download/13.0-RELEASE                       401M  1.38T      401M /mnt/Pool 1/iocage/download/13.0-RELEASE
Pool 1/iocage/download/13.1-RELEASE                       251M  1.38T      251M /mnt/Pool 1/iocage/download/13.1-RELEASE
Pool 1/iocage/images                                       96K  1.38T       96K /mnt/Pool 1/iocage/images
Pool 1/iocage/jails                                      5.29G  1.38T      120K /mnt/Pool 1/iocage/jails
Pool 1/iocage/jails/ADGuardServer                        90.4M  1.38T      308K /mnt/Pool 1/iocage/jails/ADGuardServer
Pool 1/iocage/jails/ADGuardServer/root                   90.1M  1.38T     90.1M /mnt/Pool 1/iocage/jails/ADGuardServer/root
Pool 1/iocage/jails/EmbyServer                           2.10G  1.38T      300K /mnt/Pool 1/iocage/jails/EmbyServer
Pool 1/iocage/jails/EmbyServer/root                      2.10G  1.38T     2.10G /mnt/Pool 1/iocage/jails/EmbyServer/root
Pool 1/iocage/jails/Guacamole                            1.25G  1.38T      328K /mnt/Pool 1/iocage/jails/Guacamole
Pool 1/iocage/jails/Guacamole/root                       1.25G  1.38T     1.25G /mnt/Pool 1/iocage/jails/Guacamole/root
Pool 1/iocage/jails/MineOS                                969M  1.38T      360K /mnt/Pool 1/iocage/jails/MineOS
Pool 1/iocage/jails/MineOS/root                           969M  1.38T      969M /mnt/Pool 1/iocage/jails/MineOS/root
Pool 1/iocage/jails/OpenVPN                              69.3M  1.38T      340K /mnt/Pool 1/iocage/jails/OpenVPN
Pool 1/iocage/jails/OpenVPN/root                         69.0M  1.38T     69.0M /mnt/Pool 1/iocage/jails/OpenVPN/root
Pool 1/iocage/jails/SyncThing                             859M  1.38T      308K /mnt/Pool 1/iocage/jails/SyncThing
Pool 1/iocage/jails/SyncThing/root                        859M  1.38T      854M /mnt/Pool 1/iocage/jails/SyncThing/root
Pool 1/iocage/log                                         232K  1.38T      152K /mnt/Pool 1/iocage/log
Pool 1/iocage/releases                                   3.26G  1.38T      104K /mnt/Pool 1/iocage/releases
Pool 1/iocage/releases/12.3-RELEASE                      1.32G  1.38T       96K /mnt/Pool 1/iocage/releases/12.3-RELEASE
Pool 1/iocage/releases/12.3-RELEASE/root                 1.32G  1.38T     1.32G /mnt/Pool 1/iocage/releases/12.3-RELEASE/root
Pool 1/iocage/releases/13.0-RELEASE                      1.31G  1.38T       96K /mnt/Pool 1/iocage/releases/13.0-RELEASE
Pool 1/iocage/releases/13.0-RELEASE/root                 1.31G  1.38T     1.31G /mnt/Pool 1/iocage/releases/13.0-RELEASE/root
Pool 1/iocage/releases/13.1-RELEASE                       644M  1.38T       96K /mnt/Pool 1/iocage/releases/13.1-RELEASE
Pool 1/iocage/releases/13.1-RELEASE/root                  644M  1.38T      644M /mnt/Pool 1/iocage/releases/13.1-RELEASE/root
Pool 1/iocage/templates                                    96K  1.38T       96K /mnt/Pool 1/iocage/templates
boot-pool                                                1.29G  26.3G       24K none [/code ]

I'm no expert, but I don't see 2.2 TiB worth of information there. If I map a share to windows, I only see the "1.38tib" available.

I've read through a few posts on the forums about similar topics, however they were for older versions of TrueNas or even FreeNas. The one that was marked as "Solved" was solved through a Reboot. The others were discussions about possible GUI Bugs, or browser caching. Or just outright too technical for me to understand at the moment.
Since posting this I found another thread on the forum, This command was used: zfs get -r -t filesystem usedsnap storage it returned
Code:
root@truenas[~]#  zfs get -r -t filesystem usedsnap "Pool 1"
NAME                                                     PROPERTY         VALUE    SOURCE
Pool 1                                                   usedbysnapshots  128K    -
Pool 1/.system                                           usedbysnapshots  88K    -
Pool 1/.system/configs-81963fc7279b4cf49c43e5a8cbe36cdb  usedbysnapshots  64K    -
Pool 1/.system/cores                                     usedbysnapshots  64K    -
Pool 1/.system/rrd-81963fc7279b4cf49c43e5a8cbe36cdb      usedbysnapshots  14.7M    -
Pool 1/.system/samba4                                    usedbysnapshots  1.37M    -
Pool 1/.system/services                                  usedbysnapshots  0B    -
Pool 1/.system/syslog-81963fc7279b4cf49c43e5a8cbe36cdb   usedbysnapshots  1.35M    -
Pool 1/.system/webui                                     usedbysnapshots  0B    -
Pool 1/Storage Pool 1                                    usedbysnapshots  1.41T    -
Pool 1/Storage Pool 1/BearDataset                        usedbysnapshots  0B    -
Pool 1/Storage Pool 1/BearMediaSet                       usedbysnapshots  0B    -
Pool 1/Storage Pool 1/Syncing and Backups                usedbysnapshots  2.57M    -
Pool 1/iocage                                            usedbysnapshots  196K    -
Pool 1/iocage/download                                   usedbysnapshots  0B    -
Pool 1/iocage/download/12.3-RELEASE                      usedbysnapshots  0B    -
Pool 1/iocage/download/13.0-RELEASE                      usedbysnapshots  0B    -
Pool 1/iocage/download/13.1-RELEASE                      usedbysnapshots  0B    -
Pool 1/iocage/images                                     usedbysnapshots  0B    -
Pool 1/iocage/jails                                      usedbysnapshots  72K    -
Pool 1/iocage/jails/ADGuardServer                        usedbysnapshots  0B    -
Pool 1/iocage/jails/ADGuardServer/root                   usedbysnapshots  0B    -
Pool 1/iocage/jails/EmbyServer                           usedbysnapshots  0B    -
Pool 1/iocage/jails/EmbyServer/root                      usedbysnapshots  0B    -
Pool 1/iocage/jails/Guacamole                            usedbysnapshots  0B    -
Pool 1/iocage/jails/Guacamole/root                       usedbysnapshots  0B    -
Pool 1/iocage/jails/MineOS                               usedbysnapshots  0B    -
Pool 1/iocage/jails/MineOS/root                          usedbysnapshots  0B    -
Pool 1/iocage/jails/OpenVPN                              usedbysnapshots  0B    -
Pool 1/iocage/jails/OpenVPN/root                         usedbysnapshots  0B    -
Pool 1/iocage/jails/SyncThing                            usedbysnapshots  100K    -
Pool 1/iocage/jails/SyncThing/root                       usedbysnapshots  4.79M    -
Pool 1/iocage/log                                        usedbysnapshots  80K    -
Pool 1/iocage/releases                                   usedbysnapshots  0B    -
Pool 1/iocage/releases/12.3-RELEASE                      usedbysnapshots  0B    -
Pool 1/iocage/releases/12.3-RELEASE/root                 usedbysnapshots  0B    -


I see Storage Pool 1 using over 1.4tib for snapshots.

Run zfs list -o space and you will see more information about used space.
Code:
Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.

root@truenas[~]# zfs list -o space
NAME                                                     AVAIL   USED  USEDSNAP USEDDS  USEDREFRESERV  USEDCHILD
Pool 1                                                   1.38T  2.13T      128K    96K             0B      2.13T
Pool 1/.system                                           1.38T  44.6M       88K   112K             0B      44.4M
Pool 1/.system/configs-81963fc7279b4cf49c43e5a8cbe36cdb  1.38T   424K       64K   360K             0B         0B
Pool 1/.system/cores                                     1024M   160K       64K    96K             0B         0B
Pool 1/.system/rrd-81963fc7279b4cf49c43e5a8cbe36cdb      1.38T  38.9M     14.7M  24.2M             0B         0B
Pool 1/.system/samba4                                    1.38T  1.70M     1.37M   340K             0B         0B
Pool 1/.system/services                                  1.38T    96K        0B    96K             0B         0B
Pool 1/.system/syslog-81963fc7279b4cf49c43e5a8cbe36cdb   1.38T  3.11M     1.35M  1.76M             0B         0B
Pool 1/.system/webui                                     1.38T    96K        0B    96K             0B         0B
Pool 1/Storage Pool 1                                    1.38T  2.12T     1.41T   132K             0B       733G
Pool 1/Storage Pool 1/BearDataset                        1.38T   117G        0B   117G             0B         0B
Pool 1/Storage Pool 1/BearMediaSet                       1.38T   559G        0B   559G             0B         0B
Pool 1/Storage Pool 1/Linux-ljrb4                        1.43T  55.1G        8K  4.33G          50.8G         0B
Pool 1/Storage Pool 1/Syncing and Backups                1.38T  1.82G     2.57M  1.81G             0B         0B
Pool 1/iocage                                            1.38T  9.59G      196K  7.83M             0B      9.58G
Pool 1/iocage/download                                   1.38T  1.03G        0B   104K             0B      1.03G
Pool 1/iocage/download/12.3-RELEASE                      1.38T   403M        0B   403M             0B         0B
Pool 1/iocage/download/13.0-RELEASE                      1.38T   401M        0B   401M             0B         0B
Pool 1/iocage/download/13.1-RELEASE                      1.38T   251M        0B   251M             0B         0B
Pool 1/iocage/images                                     1.38T    96K        0B    96K             0B         0B
Pool 1/iocage/jails                                      1.38T  5.30G       72K   120K             0B      5.30G
Pool 1/iocage/jails/ADGuardServer                        1.38T  90.4M        0B   308K             0B      90.1M
Pool 1/iocage/jails/ADGuardServer/root                   1.38T  90.1M        0B  90.1M             0B         0B
Pool 1/iocage/jails/EmbyServer                           1.38T  2.10G        0B   300K             0B      2.10G
Pool 1/iocage/jails/EmbyServer/root                      1.38T  2.10G        0B  2.10G             0B         0B
Pool 1/iocage/jails/Guacamole                            1.38T  1.25G        0B   328K             0B      1.25G
Pool 1/iocage/jails/Guacamole/root                       1.38T  1.25G        0B  1.25G             0B         0B
Pool 1/iocage/jails/MineOS                               1.38T   969M        0B   360K             0B       969M
Pool 1/iocage/jails/MineOS/root                          1.38T   969M        0B   969M             0B         0B
Pool 1/iocage/jails/OpenVPN                              1.38T  69.3M        0B   340K             0B      69.0M
Pool 1/iocage/jails/OpenVPN/root                         1.38T  69.0M        0B  69.0M             0B         0B
Pool 1/iocage/jails/SyncThing                            1.38T   862M      100K   308K             0B       862M
Pool 1/iocage/jails/SyncThing/root                       1.38T   862M     4.79M   857M             0B         0B
Pool 1/iocage/log                                        1.38T   232K       80K   152K             0B         0B
Pool 1/iocage/releases                                   1.38T  3.26G        0B   104K             0B      3.26G
Pool 1/iocage/releases/12.3-RELEASE                      1.38T  1.32G        0B    96K             0B      1.32G
Pool 1/iocage/releases/12.3-RELEASE/root                 1.38T  1.32G        0B  1.32G             0B         0B
Pool 1/iocage/releases/13.0-RELEASE                      1.38T  1.31G        0B    96K             0B      1.31G
Pool 1/iocage/releases/13.0-RELEASE/root                 1.38T  1.31G        0B  1.31G             0B         0B
Pool 1/iocage/releases/13.1-RELEASE                      1.38T   644M        0B    96K             0B       644M
Pool 1/iocage/releases/13.1-RELEASE/root                 1.38T   644M        0B   644M             0B         0B


Seeing the same thing there, a massive amount of snapshots. I shouldn't have too many, the NAS hasn't running for long. Perhaps my configuration is wrong?
 
Joined
Aug 19, 2022
Messages
4
Since posting this I found another thread on the forum, This command was used: zfs get -r -t filesystem usedsnap storage it returned
Code:
root@truenas[~]#  zfs get -r -t filesystem usedsnap "Pool 1"
NAME                                                     PROPERTY         VALUE    SOURCE
Pool 1                                                   usedbysnapshots  128K    -
Pool 1/.system                                           usedbysnapshots  88K    -
Pool 1/.system/configs-81963fc7279b4cf49c43e5a8cbe36cdb  usedbysnapshots  64K    -
Pool 1/.system/cores                                     usedbysnapshots  64K    -
Pool 1/.system/rrd-81963fc7279b4cf49c43e5a8cbe36cdb      usedbysnapshots  14.7M    -
Pool 1/.system/samba4                                    usedbysnapshots  1.37M    -
Pool 1/.system/services                                  usedbysnapshots  0B    -
Pool 1/.system/syslog-81963fc7279b4cf49c43e5a8cbe36cdb   usedbysnapshots  1.35M    -
Pool 1/.system/webui                                     usedbysnapshots  0B    -
Pool 1/Storage Pool 1                                    usedbysnapshots  1.41T    -
Pool 1/Storage Pool 1/BearDataset                        usedbysnapshots  0B    -
Pool 1/Storage Pool 1/BearMediaSet                       usedbysnapshots  0B    -
Pool 1/Storage Pool 1/Syncing and Backups                usedbysnapshots  2.57M    -
Pool 1/iocage                                            usedbysnapshots  196K    -
Pool 1/iocage/download                                   usedbysnapshots  0B    -
Pool 1/iocage/download/12.3-RELEASE                      usedbysnapshots  0B    -
Pool 1/iocage/download/13.0-RELEASE                      usedbysnapshots  0B    -
Pool 1/iocage/download/13.1-RELEASE                      usedbysnapshots  0B    -
Pool 1/iocage/images                                     usedbysnapshots  0B    -
Pool 1/iocage/jails                                      usedbysnapshots  72K    -
Pool 1/iocage/jails/ADGuardServer                        usedbysnapshots  0B    -
Pool 1/iocage/jails/ADGuardServer/root                   usedbysnapshots  0B    -
Pool 1/iocage/jails/EmbyServer                           usedbysnapshots  0B    -
Pool 1/iocage/jails/EmbyServer/root                      usedbysnapshots  0B    -
Pool 1/iocage/jails/Guacamole                            usedbysnapshots  0B    -
Pool 1/iocage/jails/Guacamole/root                       usedbysnapshots  0B    -
Pool 1/iocage/jails/MineOS                               usedbysnapshots  0B    -
Pool 1/iocage/jails/MineOS/root                          usedbysnapshots  0B    -
Pool 1/iocage/jails/OpenVPN                              usedbysnapshots  0B    -
Pool 1/iocage/jails/OpenVPN/root                         usedbysnapshots  0B    -
Pool 1/iocage/jails/SyncThing                            usedbysnapshots  100K    -
Pool 1/iocage/jails/SyncThing/root                       usedbysnapshots  4.79M    -
Pool 1/iocage/log                                        usedbysnapshots  80K    -
Pool 1/iocage/releases                                   usedbysnapshots  0B    -
Pool 1/iocage/releases/12.3-RELEASE                      usedbysnapshots  0B    -
Pool 1/iocage/releases/12.3-RELEASE/root                 usedbysnapshots  0B    -


I see Storage Pool 1 using over 1.4tib for snapshots.


Code:
Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.

root@truenas[~]# zfs list -o space
NAME                                                     AVAIL   USED  USEDSNAP USEDDS  USEDREFRESERV  USEDCHILD
Pool 1                                                   1.38T  2.13T      128K    96K             0B      2.13T
Pool 1/.system                                           1.38T  44.6M       88K   112K             0B      44.4M
Pool 1/.system/configs-81963fc7279b4cf49c43e5a8cbe36cdb  1.38T   424K       64K   360K             0B         0B
Pool 1/.system/cores                                     1024M   160K       64K    96K             0B         0B
Pool 1/.system/rrd-81963fc7279b4cf49c43e5a8cbe36cdb      1.38T  38.9M     14.7M  24.2M             0B         0B
Pool 1/.system/samba4                                    1.38T  1.70M     1.37M   340K             0B         0B
Pool 1/.system/services                                  1.38T    96K        0B    96K             0B         0B
Pool 1/.system/syslog-81963fc7279b4cf49c43e5a8cbe36cdb   1.38T  3.11M     1.35M  1.76M             0B         0B
Pool 1/.system/webui                                     1.38T    96K        0B    96K             0B         0B
Pool 1/Storage Pool 1                                    1.38T  2.12T     1.41T   132K             0B       733G
Pool 1/Storage Pool 1/BearDataset                        1.38T   117G        0B   117G             0B         0B
Pool 1/Storage Pool 1/BearMediaSet                       1.38T   559G        0B   559G             0B         0B
Pool 1/Storage Pool 1/Linux-ljrb4                        1.43T  55.1G        8K  4.33G          50.8G         0B
Pool 1/Storage Pool 1/Syncing and Backups                1.38T  1.82G     2.57M  1.81G             0B         0B
Pool 1/iocage                                            1.38T  9.59G      196K  7.83M             0B      9.58G
Pool 1/iocage/download                                   1.38T  1.03G        0B   104K             0B      1.03G
Pool 1/iocage/download/12.3-RELEASE                      1.38T   403M        0B   403M             0B         0B
Pool 1/iocage/download/13.0-RELEASE                      1.38T   401M        0B   401M             0B         0B
Pool 1/iocage/download/13.1-RELEASE                      1.38T   251M        0B   251M             0B         0B
Pool 1/iocage/images                                     1.38T    96K        0B    96K             0B         0B
Pool 1/iocage/jails                                      1.38T  5.30G       72K   120K             0B      5.30G
Pool 1/iocage/jails/ADGuardServer                        1.38T  90.4M        0B   308K             0B      90.1M
Pool 1/iocage/jails/ADGuardServer/root                   1.38T  90.1M        0B  90.1M             0B         0B
Pool 1/iocage/jails/EmbyServer                           1.38T  2.10G        0B   300K             0B      2.10G
Pool 1/iocage/jails/EmbyServer/root                      1.38T  2.10G        0B  2.10G             0B         0B
Pool 1/iocage/jails/Guacamole                            1.38T  1.25G        0B   328K             0B      1.25G
Pool 1/iocage/jails/Guacamole/root                       1.38T  1.25G        0B  1.25G             0B         0B
Pool 1/iocage/jails/MineOS                               1.38T   969M        0B   360K             0B       969M
Pool 1/iocage/jails/MineOS/root                          1.38T   969M        0B   969M             0B         0B
Pool 1/iocage/jails/OpenVPN                              1.38T  69.3M        0B   340K             0B      69.0M
Pool 1/iocage/jails/OpenVPN/root                         1.38T  69.0M        0B  69.0M             0B         0B
Pool 1/iocage/jails/SyncThing                            1.38T   862M      100K   308K             0B       862M
Pool 1/iocage/jails/SyncThing/root                       1.38T   862M     4.79M   857M             0B         0B
Pool 1/iocage/log                                        1.38T   232K       80K   152K             0B         0B
Pool 1/iocage/releases                                   1.38T  3.26G        0B   104K             0B      3.26G
Pool 1/iocage/releases/12.3-RELEASE                      1.38T  1.32G        0B    96K             0B      1.32G
Pool 1/iocage/releases/12.3-RELEASE/root                 1.38T  1.32G        0B  1.32G             0B         0B
Pool 1/iocage/releases/13.0-RELEASE                      1.38T  1.31G        0B    96K             0B      1.31G
Pool 1/iocage/releases/13.0-RELEASE/root                 1.38T  1.31G        0B  1.31G             0B         0B
Pool 1/iocage/releases/13.1-RELEASE                      1.38T   644M        0B    96K             0B       644M
Pool 1/iocage/releases/13.1-RELEASE/root                 1.38T   644M        0B   644M             0B         0B


Seeing the same thing there, a massive amount of snapshots. I shouldn't have too many, the NAS hasn't running for long. Perhaps my configuration is wrong?
Needless to say, I deleted my snapshots, I then created a singluar one for the time being for the sake of back up. I also have the documentation for creating a snapshot task open and will do that asap.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Well, if you do something like write a file, snapshot the dataset where the file is, then delete the file, you will not see net reduction in overall space used. The information has to be there somewhere. Snapshots are free until blocks start changing.
 
Joined
Aug 19, 2022
Messages
4
Well, if you do something like write a file, snapshot the dataset where the file is, then delete the file, you will not see net reduction in overall space used. The information has to be there somewhere.
True, Issue was, I had 3 snapshots of the same day of my 700gb of video. It's not particulairly useful. I simply deleted the unecesairy ones, made 1 for today, and a task to run weekly snapshots of my storage pool, keeping 1 in reserve.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
True, Issue was, I had 3 snapshots of the same day of my 700gb of video. It's not particulairly useful. I simply deleted the unecesairy ones, made 1 for today, and a task to run weekly snapshots of my storage pool, keeping 1 in reserve.
You can keep as many snapshots you want (within reason -- I wouldn't go over a couple of hundred per dataset at a max). 3 snapshots that contain the same deleted 700 GiB video won't take more space than 1 snapshot. From an administrator standpoint, the amount of space consumed by snapshots depends on your retention period and churn in dataset. For instance, if you have scratch space that's constantly having large files written and deleted, you may want to consider a very short retention period. On the other hand an archival dataset where you're mostly just writing new files can have much longer retention period without USED_SNAP growing significantly.
 
Top