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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content