Hello TrueNAS Community,
I’m encountering a persistent issue with my TrueNAS installation (ElectricEel-24.10.2) where I’m unable to delete the dataset “tank/iso”. When I attempt to delete it through the web interface, I receive the error: “[EBUSY] Failed to delete dataset: cannot destroy ‘tank/iso’: dataset is busy. These running processes are using tank/iso: qbittorrent-nox”.
However, I’ve taken several steps to investigate and resolve this, but the issue persists:
- Checked Active Processes: I’ve used the TrueNAS web interface and the command
ps aux | grep qbittorrent-noxvia SSH to check for runningqbittorrent-noxprocesses. While I did find processes initially, they seem to reappear very quickly after being killed. - Attempted to Stop qbittorrent-nox Service: I tried to stop the
qbittorrent-noxservice, stopped completely the docker container and gluetun too (I’ve installed them via dockge). seem anyway that qbittorrent.nox is referred to an old installation (I used the infamous and crappy truecharts…) - Tried to Prevent Restarts: I attempted to disable the automatic start of the
qbittorrent-nox. I also tried terminal commands likekillon theqbittorrent-noxprocesses and investigateds6-supervise(the parent process) and tried to kill those as well, but theqbittorrent-noxprocesses keep restarting. - Rebooted the System: I rebooted the entire TrueNAS system and immediately tried to delete the dataset after the system came back online, but the “dataset is busy” error persists.
- Checked Mount Points: I used the command
mount | grep tank/isoto ensure the dataset wasn’t mounted. The command returned no output. - Checked ZFS Holds: I ran
zfs holds tank/isoto check for any active ZFS holds on the dataset. The output indicated “no datasets available”, suggesting no holds are present.
Despite these steps, I am still unable to delete the “tank/iso” dataset due to the “dataset is busy” error, seemingly caused by qbittorrent-nox which keeps restarting or having some persistent lock.
Has anyone else experienced a similar issue or have any suggestions on how to further troubleshoot this? I’m open to any advice or commands I can run to gather more information or resolve this.
Thank you in advance for your help!