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.

[6.9.2] smbd keeps file open, resulting in "Device or resource busy"

Featured Replies

I've had this issue for a while now. Basically, I have a single share mounted on my server with smb. After a large enough copy (and sporadically, not always), if I try to mutate the file (move, delete etc), I get "Device or resource busy". Today, I was able to find out what on the unraid box is keeping the file busy:

 

lsof $FILENAME
COMMAND   PID  USER   FD   TYPE DEVICE   SIZE/OFF               NODE NAME
smbd    25896 howbowz  443w   REG   0,45 7039913529 648799827760513201 $FILENAME

 

To be clear, I ran the above in unraid's terminal.

 

So now my questions:

 

  • What's going on here with smbd keeping the file open for a long, long time?
  • How do I prevent it?

Never seen that issue.  Try disabling Indexing with Windows

  • Author

No windows. My other system that copied the file to the share is Ubuntu.

 

Basically, 1 outlet of 20 or so files copied to the share end up like this.

  • Author

Anyone got ideas? Still running into it every once in a while.

  • Author

Here's the latest one that I've been unable to modify (this time due to shfs?):

 

COMMAND   PID USER   FD   TYPE DEVICE   SIZE/OFF       NODE NAME
shfs    12255 root  188r   REG    9,4 4069601929 6442498010 file.mkv

 

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.