Re: cannot delete directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
> Recently in an attempt to rm -Rf on a client that nfs mounts our RH6
> resilient storage with gfs2 file system to remove old users directories
> I have run into the problem where it deletes all content down the tree,
> leaving all directories empty but it cannot delete the directory because
> "the directory is not empty".  Even though it is.  Any ideas how to
> correct this?
> --
> Sincerely,
> 
> Doug Tucker

Hi Doug,

Hm. That's odd.
Are you trying to rmdir through nfs? Or through the gfs2 server?
Sounds like you were using nfs, which ought to work.

1. Make sure lsof doesn't show any open files for that directory.
2. Make sure the directory itself isn't being exported via nfs.
3. Make sure there aren't hidden files via ls -a
4. Make sure there aren't any kernel errors on the GFS2 server in dmesg
5. Try doing rmdir on the gfs2 server to see if it works.

Regards,

Bob Peterson
Red Hat File Systems

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster



[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux