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

Emmanuel Dreyfus manu at netbsd.org
Fri Jul 8 08:09:27 UTC 2011


Hi

I started over my 2x2 glusterfs volume, and get a weird bug. File that
go to Brick3/Brick4 are not shown by readdir

Volume Name: gfs
Type: Distributed-Replicate
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: silo:/export/wd1a
Brick2: hangar:/export/wd1a
Brick3: silo:/export/wd3a
Brick4: hangar:/export/wd3a

hangar# ls -l /export/wd3a/acronyms
-r--r--r--  1 root  wheel  7388 Jul  8 09:53 /export/wd3a/acronyms

client# ls               
NetBSD.el       country         magic.mgc       test
vgrindefs
acronyms.comp   domains         map3270         texinfo.dtd
airport         eqnchar         msg_sys.def     texinfo.tex
ascii           flowers         operator        texinfo.xsl
birthtoken      language        termcap.db      usb_hid_usages

I only see here files that are on Brick1/Brick2. readdir miss the files
from Brick3/Brick4, but lookup/getattr/open/read do get them:

client# ls -l acronyms
-r--r--r--  1 root  wheel  7388 Jul  8 09:53 acronyms
client# md5 acronyms
MD5 (acronyms) = 1ed2b3240f2952cb06655836731f7cbe

Logs from Brick3/Brick4 show nothing special. Any idea?

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




More information about the Gluster-devel mailing list