Receiving 'Directory not empty' error when trying to delete a directory on GFS2 file system.

Solution In Progress - Updated -

Issue

  • Receiving error 'Directory not empty' when trying to delete a directory on GFS2 file system.
# rm -rf /mnt/test
rm: cannot remove `/mnt/test': Directory not empty
  • Active Directory users are able to delete newer content from the samba share (underlying filesystem is gfs2) but fails to delete all the old contents.
rm -rf Assets/
rm: cannot remove `Assets': Directory not empty

Environment

  • Red Hat Enterprise Linux 5 w/ Resilient Storage
  • Red Hat Enterprise Linux 6 w/ Resilient Storage

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.