Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

An empty dir cannot be deleted due to directory not empty

Views:
132
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • NFS

Issue

  • An empty directory seen from NFS clients cannot be deleted with following error: directory not empty.
rm: cannot remove ‘/mnt/nfs/dir1/dir2’: Directory not empty
  • Run ls -la on the Linux client, there aren't any files existing in that directory.
  • Run strace rm -rf dir on the Linux client and the output contains Directory not empty error as well.
Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support