Hi, I recently saw that the pool of my apps is way more used than it should. After some digging, I found out that the issue was that I had almost 150GB of unused docker images sitting in the .ix-apps inside /mnt. When I made some cleanup with docker image prune and docker system prune, the du command no longer shows a huge .ix-apps data usage, as it should be, but the GUI and the command zpool list still shows the usage as being the same as before.
Here are some informations :
Running Truenas Scale 24.10.2. I have 3 pools : Piscine, Safe and FastBoy. FastBoy is the app pool and also the problematic one.
I dont really understand the difference in sizes and why it dit not update. I also checked the snapshots and dont seem to have any that use more than 3GB.
This still shows that the docker folder inside ix-apps is 142G which it should not be. How can I fix this, because as I said it was “removed” when pruning docker. The thing I don’t understand is why is it still here.
Okay I see. I don’t really know why this snapshot does not appear in the GUI under the snapshots page. Can I remove it in some way ? Thanks a lot for your answers
Also, it does not appear when listing snapshots for that path or when sorting all the snapshots by size:
zfs list -r -t snapshot -o name,creation,used -s used
NAME CREATION USED
[...]
Piscine/Time_Machine/patricia@aapltm-1741446441 Sat Mar 8 16:07 2025 653M
Piscine/Time_Machine/patricia@aapltm-1742024704 Sat Mar 15 8:45 2025 655M
Piscine/Time_Machine/patricia@aapltm-1741897649 Thu Mar 13 21:27 2025 657M
Piscine/Time_Machine/patricia@aapltm-1741442924 Sat Mar 8 15:08 2025 690M
Piscine/Time_Machine/patricia@aapltm-1741548124 Sun Mar 9 20:22 2025 699M
Piscine/Time_Machine/patricia@aapltm-1741800178 Wed Mar 12 18:22 2025 702M
Piscine/Time_Machine/patricia@aapltm-1741435202 Sat Mar 8 13:00 2025 736M
Piscine/Time_Machine/patricia@aapltm-1741530545 Sun Mar 9 15:29 2025 753M
Safe/OverleafVM-ytnce9@auto-2025-03-10_00-00 Mon Mar 10 0:00 2025 1001M
Piscine/Time_Machine/patricia@auto-2025-03-08_00-00 Sat Mar 8 0:00 2025 1.10G
Safe/OverleafVM-ytnce9@auto-2025-03-14_00-00 Fri Mar 14 0:00 2025 1.12G
Piscine/Time_Machine/patricia@aapltm-1741532525 Sun Mar 9 16:02 2025 1.12G
Piscine/Time_Machine/patricia@aapltm-1741790333 Wed Mar 12 15:38 2025 1.31G
Piscine/Time_Machine/patricia@auto-2025-03-04_00-00 Tue Mar 4 0:00 2025 1.45G
Piscine/Time_Machine/patricia@auto-2025-03-03_00-00 Mon Mar 3 0:00 2025 1.68G
Safe/OverleafVM-ytnce9@OverleafVM_Backup Sun Feb 23 10:03 2025 2.93G
Piscine/Time_Machine/patricia@auto-2025-03-02_00-00 Sun Mar 2 0:00 2025 8.06G
If you have snapshots of the dataset container the data you deleted, then you need to delete all of the snapshots referencing that data before space is actually freed.
Thanks a lot, that was indeed the issue I was confused (and still kinda am) by the used vs referenced parameter. I identified the snapshots and deleted them, the space usage is now shown correct again.