While I was moving file from a share to another inside an app, my trueNAS died.
The disk where the apps are installed is at 100% but I’m unable to locate where the data filling the disk are! Funny situation … as I’m a n00b in TrueNAS Scale, I can’t imagine what’s happening. “df -h” doesn’t help me.
Now, Docker doesn’t start, Samba share are stopped, only NFS is sharing.
Web interface is a little bit weird, but usable.
I’m in version ElectricEel-24.10.1
I think the dataset where the system stock the apps, now hidden, made the mess, but impossible to find where those data filling the dataset are …
Is it really at 100%? That breaks things. Sorry, but I can’t help, except to note that if you were moving a file and the ZIL couldn’t be written you might be in the “Here be dragons” territory.
I expect that even if you were to use the shell and cd into those folders, you will get an error trying to rm a file manually. Reaching 0 bytes remaining is terribad.
Still, try it and see.
If it fails, I am sorry but I don’t know how to recover from that kind of event.
My problem is this folder isn’t exist anymore :-).
I’m just about to move some datas from “VM/online_torrent” and I hope I’ll be able to start again the apps management, and remove Transmission app, to see if I get back the 769G
I have absolutely no idea if this is a viable option: do you have a spare drive, even a usb stick, you could add as a new vdev to get some space? If you could unlock it you might be able to get back into a working position but you will likely have to destroy and recreate the pool in the medium term.
Ok, @neofusion show me how to find file usage with “zfs list -o space”. It allow me to move enough files to run again the apps daemon and delete Transmission, who are not useful at all.
Then … @essinghigh give me THE solution, and the winner is:
VM/ix-apps/app_mounts/deluge/downloads@1.1.7 878G
I have actually version 1.1.8 of Deluge. Then, I discover in the webapp a feature to rollback apps to version 1.1.7 !!!
So, when your ISO files are stored in the deluge app scope, all of them are in a snapshot because of the rollback feature. This means I need to store files in a separate dataset, to not snapshot them, so it’ll keep the app at a few megabytes size.
The bad luck is I CAN’T DELETE the rollback files for Deluge app from the web interface . I’ll try to find a solution in CLI.
Thanks you so much guys for your support! I was a little upset of loosing the NAS this evening, all is up and running now
Not sure what you mean here, you already posted that output and it showed the two offending places were data was lingering, thusly limiting your further investigation to those two spots.
From my understanding, the 878G of Deluge app was twice on disk: one time in the usual filesystem and another time in the ZFS snapshot (because of the “rollback” feature of each app installed). The reason is certainly because I’ve move some datas to another dataset.
Really not sure of those hypotheses, but it’s 100% sure the snapshot removing of old Deluge version solved the space issue at the second.