Make free space on Truenas scale (22.12.0)

Joined
Nov 3, 2012
Messages
8
Hello,

I got the message in the dashboard that a pool (Tank4TB) is in use for 84% (16 % free space). I delete about 1Tb (in that pool/dataset) and after a scrub i still see 84% used space. I rebooted the server but still: 84%. Perhaps i am missing something? (there are no jobs/alarms running)

some data:

sdb Tank4TB (poolname) (has datasets that are shared via smb)
sdc Backup (poolname) (has datasets that are shared via smb)

Thanks for your advice!

ps: i also have tasks in data protection (scrub/snapshots/smart tests for all pools)
ps2:

root@truenas[~]# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
Backup 2.72T 1.52T 1.20T - - 0% 55% 1.00x ONLINE /mnt
Tank4TB 3.62T 2.97T 675G - - 2% 81% 1.00x ONLINE /mnt
boot-pool 95G 2.65G 92.3G - - 0% 2% 1.00x ONLINE -
 
Last edited:

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
try deleting any snapshots.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
after a scrub i still see 84% used space.
A scrub wouldn't do anything to address the free/used space in your pool; scrubs are a method of ensuring that the data on disk hasn't been corrupted. ZFS does now support asynchronous deletion, so if you destroy a large dataset the system will free space in the background rather than blocking the system until it's finished, but again a scrub doesn't have anything to do with that. But if you have snapshots of the data you deleted, that space will still be taken until those snapshots are destroyed.
 
Top