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

Anand Avati anand.avati at gmail.com
Fri Jul 8 17:07:03 UTC 2011


Can you check if the 'acronyms' directory has the same gfid on all 4 servers
(from the backend)?

Avati

On Fri, Jul 8, 2011 at 1:39 PM, Emmanuel Dreyfus <manu at netbsd.org> wrote:

> 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
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20110708/bf403819/attachment-0003.html>


More information about the Gluster-devel mailing list