Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unable to delete a few directories on ZFS drive.

Featured Replies

Hi.

I have an odd issue that's been bugging me and I can't seem to find a solution to it.

I was working on a virtual machine which for some reason completely froze Unraid's UI, but docker containers were still running. Only way to get around that was a complete shutdown. I ended up deleting the VM as well the libvirt.img file, however for some reason I can't delete the directory it was located in, which used to be a ZFS dataset which I converted with ZFS Master Plugin. Also tried to remove the domains share, but that didn't work either. System claims the directory isn't empty and if I attempt to delete it with Midnight Commander, is says the operation failed due to the directory being "busy".

This might be related to a fix in Unraid 7.21 beta I just noticed that says "Fix: Remount dataset if 'ZFS destroy' fails because dataset is busy", but if someone has a solution to deal with this that would be appreciated.

Solved by JorgeB

  • Community Expert

They may be a dataset; post the output from zfs list

  • Author
4 minutes ago, JorgeB said:

They may be a dataset; post the output from zfs list


So it seems you're right. Those datasets were removed with ZFS Master Plugin, however unsuccessfully apparently.
So what can I do except ignoring it for now?

2025-11-09.png

  • Community Expert
  • Solution

As long as they don't have open files, you should be able to use zfs destroy, e.g., zfs destroy cache_nvme/domains/VM1

  • Author

That worked! Thanks =)

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.