SUMMARY When I remove a lot of big files via SMB (in dolphin), I get "Device or resource busy" error. If it's small files or when I remove just single file it doesn't seem to happen. STEPS TO REPRODUCE 1. Connect to SMB share (not CIFS mounted FS) 2. Go to folder with multiple big files (e.g. movies, series, etc) 3. Select multiple files 4. Delete OBSERVED RESULT Device or resource busy error EXPECTED RESULT No errors, files are deleted SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.8 Kernel Version: 6.1.3-zen1-1-zen (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION I don't know if it's KIO issue but it doesn't seem to be dolphin or generic filesystem bug so I put it here.
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_IOSlaves/Debugging_kio_smb#Reporting_Bugs Sound like an upstream samba bug though TBH.
I also cannot reproduce this with samba 4.15.9
Oh oh oh, it could also be a variant of this bug https://bugs.kde.org/show_bug.cgi?id=396630 In case your server is samba you can run smbstatus on the server side to check out the locked files, are the failing files maybe locked there?
I use samba 4.17.4 on client side and 4.13.13-Debian on server side. Yes, smbstatus says there are locked files that I am trying to delete.
Alright, pretty sure it's a duplicate then. Also explains why big files are more affected since they may take longer to generate previews for. *** This bug has been marked as a duplicate of bug 396630 ***
Thumbnails and SMB don't work together very well indeed. I found another issue (bug 464009) a while ago.
I meant bug 457592, wrong number copied from clipboard