May 13, 20233 yr Hi all - I'm encountering an odd error. I have a share called `Time Machine - Jacques` located on `/mnt/disk1/`. I am trying to delete it, but unraid will not allow it: What happens: If you try to Delete, rename or change in the GUI it "processes" but nothing happens Krusader will not let you delete In the terminal, `rm -rf <directory>` returns "Cannot remove device or resource busy" Details: There is nothing in the share (confirmed in terminal using ls -alh) The permissions are identical to other shares (confirmed in terminal) There are no processes running (confirmed using lsof | grep) There are no loops running on it (confirmed using losetup) I've run in Safe Mode and stopped all Containers and VMs Disk Check ran and came back normal Questions: Ideas or recommendations? Can I delete without mounting the array? Thanks
May 14, 20233 yr Author I have been able to delete this now (once) via umount, but now the share re-appears every time I reboot. The same thing happens with renames and any settings. Upon reboot, the "Time Machine - Jacques" is back.
May 14, 20233 yr Author This appears to be the root of the issue in the boot logs. May 14 07:10:34 Carlino unassigned.devices: Mounting 'Auto Mount' Remote Shares... May 14 07:10:39 Carlino unassigned.devices: Using Gateway '192.168.50.1' to Ping Remote Shares. May 14 07:10:45 Carlino emhttpd: shcmd (530): rmdir '/mnt/user/Time Machine - Jacques' May 14 07:10:45 Carlino shfs: /usr/sbin/zfs destroy -r disk1/Time Machine - Jacques May 14 07:10:45 Carlino shfs: error: retval 2 attempting 'zfs destroy' May 14 07:10:45 Carlino root: rmdir: failed to remove '/mnt/user/Time Machine - Jacques': Device or resource busy
May 14, 20233 yr Author Solution I was able to solve this by: 1. Unmounting the share 2. Using `zfs destroy -r` instead of `rm -rf` It appears that `rm -rf` is "queueing" the command but upon boot the changes are not successful. By using zfs directly I was able to circumvent this.
May 16, 20233 yr I get an error saying it is already unmounted. Still says device or resource is busy
January 22, 20242 yr I have the same issue (apparently) but it's a pool and can't be accessed (as far as I know) without mounting the array.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.