Howboys Posted September 18, 2021 Share Posted September 18, 2021 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? Quote Link to comment
Squid Posted September 19, 2021 Share Posted September 19, 2021 Never seen that issue. Try disabling Indexing with Windows Quote Link to comment
Howboys Posted September 19, 2021 Author Share Posted September 19, 2021 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. Quote Link to comment
Howboys Posted September 26, 2021 Author Share Posted September 26, 2021 Anyone got ideas? Still running into it every once in a while. Quote Link to comment
Howboys Posted September 26, 2021 Author Share Posted September 26, 2021 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 Quote Link to comment
Recommended Posts
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.