While trying to list or delete a directory in a gluster volume, it fails. Why ?

Solution Verified - Updated -

Issue

When trying to list or delete a directory in glusterfs, it errors out as following :

# ls
folder1
# rm -rf folder1/
rm: cannot remove directory `folder1/': No such file or directory
# ls -lR folder1/
folder1/:
total 0

The directory is not empty. The files can be located in the underlying bricks but not from the volume.

The following logs are seen in the gluster client :

[2012-03-09 11:28:13.57950] W [dht-common.c:177:dht_lookup_dir_cbk] 0-glusterfs1-dht: /disk8/dnaservices/100624_HWI-EAS339_0008_617TJAAXX/Data/Intensities/L004/C19.1: gfid different on glusterfs1-client-1
[2012-03-09 11:28:13.58012] W [dht-common.c:177:dht_lookup_dir_cbk] 0-glusterfs1-dht: /disk8/dnaservices/100624_HWI-EAS339_0008_617TJAAXX/Data/Intensities/L004/C19.1: gfid different on glusterfs1-client-2

Environment

  • Red Hat Enterprise Linux 5

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