[Gluster-devel] files exist but readdir do not see them

Emmanuel Dreyfus manu at netbsd.org
Sat Jul 9 04:03:37 UTC 2011


Emmanuel Dreyfus <manu at netbsd.org> wrote:

> I tried removing these attributes and the errors are gone, but the
> problem remain: none of the file from these two bricks are seen by
> readdir.

I tried mounting the "invisible" bricks without the other ones, by
copying the volfile, removing the dht xlator and reference to bricks
that work fine. 

In such a mount, the files show up with ls(1). Of course I have only
half of my volume, since the working bricks were removed. That suggests
something wrong with dht.

Here are trusted.glusterfs.dht values. How should this be readen, by the
way?

silo# getextattr -x system trusted.glusterfs.dht /export/wd3a/
/export/wd3a/   00 00 00 01 00 00 00 00 7f ffffffff ffffffff ffffffff
ffffffff ffffffff ffffffff ffffffff
silo# getextattr -x system trusted.glusterfs.dht /export/wd1a/ 
/export/wd1a/   00 00 00 01 00 00 00 00 00 00 00 00 7f ffffffff ffffffff
fffffffe
hangar# getextattr -x system trusted.glusterfs.dht /export/wd3a/ 
/export/wd3a/   00 00 00 01 00 00 00 00 7f ffffffff ffffffff ffffffff
ffffffff ffffffff ffffffff ffffffff
hangar# getextattr -x system trusted.glusterfs.dht /export/wd1a/ 
/export/wd1a/   00 00 00 01 00 00 00 00 00 00 00 00 7f ffffffff ffffffff
fffffffe

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org




More information about the Gluster-devel mailing list