SMB1: Application produces EBUSY error deleting a file, STATUS_SHARING_VIOLATION returned by CIFS server
Issue
Application receives an EBUSY error while trying to delete a file from a CIFS filesystem:
[root@rhel66 mnt2]# strace -e unlink,unlinkat rm -rf testfile
unlinkat(AT_FDCWD, "testfile", 0) = -1 EBUSY (Device or resource busy)
Environment
- RHEL 6, RHEL 7, SMB1
- NetApp CIFS server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
