delete files, available space doesn't update ?

ninjaneer68

Dabbler
Joined
May 14, 2017
Messages
27
When does the space in the GUI update when deleting files ? I have deleted a lot of files and trying to figure out what updates the available / used space.

I am working on reducing size, backuping files and redesigning, rebuilding the whole freenas server to fix everything when I first built it.

When the scrub completes, is that when it happens ?

I am not using snapshots, here is how things look for me now.

This hasn't change sizes in some time the used 6.90TB

Code:
NAME     AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
Storage  6.90T  8.71T         0    546G              0      8.18T



Code:
[root@freenas] ~# zfs list -t snapshot -o space
NAME                                             AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
Storage/jails/.warden-template-pluginjail@clean      -   149K         -       -              -          -
Storage/jails/.warden-template-standard@clean        -   160K         -       -              -          -
freenas-boot/ROOT/9.10.2-U6@2017-05-14-13:37:57      -  2.84M         -       -              -          -
freenas-boot/ROOT/9.10.2-U6@2017-05-14-21:44:25      -   410K         -       -              -          -
freenas-boot/ROOT/9.10.2-U6@2017-06-10-14:09:38      -   766K         -       -              -          -
freenas-boot/ROOT/9.10.2-U6@2017-09-10-16:46:03      -   638M         -       -              -          -
[root@freenas] ~#


AND


Code:
[root@freenas] ~# zfs list -t filesystem -o space
NAME                                                      AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
Storage                                                   6.90T  8.71T         0    546G              0      8.18T
Storage/.system                                           6.90T   700M         0    129K              0       700M
Storage/.system/configs-7c35bc62b22f460fb3766e1c156d5c44  6.90T   507M         0    507M              0          0
Storage/.system/cores                                     6.90T  48.7M         0   48.7M              0          0
Storage/.system/rrd-7c35bc62b22f460fb3766e1c156d5c44      6.90T   113M         0    113M              0          0
Storage/.system/samba4                                    6.90T  1.64M         0   1.64M              0          0
Storage/.system/syslog-7c35bc62b22f460fb3766e1c156d5c44   6.90T  29.7M         0   29.7M              0          0
Storage/DOCUMENTARIES                                     6.90T   124K         0    124K              0          0
Storage/HOME_VIDEOS                                       6.90T  3.61G         0   3.61G              0          0
Storage/KIDS_MEDIA                                        6.90T  1.40T         0   1.40T              0          0
Storage/MOVIES                                            6.90T  1.39T         0   1.39T              0          0
Storage/TV SHOWS                                          6.90T  5.35T         0   5.35T              0          0
Storage/jails                                             6.90T  39.7G         0    618K              0      39.7G
Storage/jails/.warden-template-pluginjail                 6.90T   891M      149K    891M              0          0
Storage/jails/.warden-template-standard                   6.90T  3.15G      160K   3.15G              0          0
Storage/jails/media1-Server                                 6.90T  5.78G         0   5.78G              0          0
Storage/jails/jail1                                      6.90T  6.51G         0   6.51G              0          0
Storage/jails/jail2                                     6.90T  1.50G         0   1.50G              0          0
Storage/jails/Quassel-core                                6.90T  2.34G         0   2.34G              0          0
Storage/jails/home-assistant                              6.90T  1.27G         0   1.27G              0          0
Storage/jails/media                                       6.90T   124K         0    124K              0          0
Storage/jails/mediaserver_1                           6.90T  18.3G         0   18.3G              0          0
coldstorage                                               7.02T   416K         0     88K              0       328K
coldstorage/coldstorage                                   7.02T    88K         0     88K              0          0
freenas-boot                                              22.8G  5.01G         0     64K              0      5.00G
freenas-boot/ROOT                                         22.8G  4.99G         0     29K              0      4.99G
freenas-boot/ROOT/9.10.2-U5                               22.8G   150K         0    150K              0          0
freenas-boot/ROOT/9.10.2-U6                               22.8G  4.99G     1.25G   3.74G              0          0
freenas-boot/ROOT/Initial-Install                         22.8G     1K         0      1K              0          0
freenas-boot/ROOT/Wizard-2017-05-14_21:44:25              22.8G     1K         0      1K              0          0
freenas-boot/ROOT/default                                 22.8G   136K         0    136K              0          0
freenas-boot/grub                                         22.8G  6.35M         0   6.35M              0          0
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
When does the space in the GUI update when deleting files ?
OS-FreeNAS-9.10.2-U6 (561f0d7a1)
USB device that FreeNAS is installed on
X 2 PNY USB 3.0 FD PMAP
Your hardware details are fantastic. Thanks for that. You might want to consider moving to a newer version of the OS. I don't think the current 11.2 is ready for reliable service because too many bugs are still popping up, but I have been well satisfied with 11.1-U7 and I am using it both on my home system and on the systems I manage at work. If you have some older jails like the Virtual Box, I can understand not upgrading. That said...

I am not aware of any thing that would prevent the UI from updating the used space. Have you looked at the output of df -h it might show you were the space is being consumed. There was a time, several years ago, when I was exporting a recycle bin on my share such that when I deleted files, they were not actually deleted but moved into a hidden folder, so the space was still being consumed. This could be the answer on your system.
 

ninjaneer68

Dabbler
Joined
May 14, 2017
Messages
27
Your hardware details are fantastic. Thanks for that. You might want to consider moving to a newer version of the OS. I don't think the current 11.2 is ready for reliable service because too many bugs are still popping up, but I have been well satisfied with 11.1-U7 and I am using it both on my home system and on the systems I manage at work. If you have some older jails like the Virtual Box, I can understand not upgrading. That said...

I am not aware of any thing that would prevent the UI from updating the used space. Have you looked at the output of df -h it might show you were the space is being consumed. There was a time, several years ago, when I was exporting a recycle bin on my share such that when I deleted files, they were not actually deleted but moved into a hidden folder, so the space was still being consumed. This could be the answer on your system.


You read my mind, I spend the entire day working on backing things up and upgrading. I just finished the upgrade to 11.2.

My main use case is for storage and running plex......if you think I should, I can re-image it and put 11.1-U7 on it ?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
I just finished the upgrade to 11.2.
There are some issues that keep showing up with 11.2 because of the full rewrite of the UI. I like 11.1-U7 because it is stable but it depends on your desire for latest version vs reliable service. As long as it is doing the things you need, it is good enough.
 
Top