[Gluster-users] Files not visible under mount point

Sharad Shukla sharadshukla19 at gmail.com
Thu Apr 23 12:44:54 UTC 2015


Hi Susant,

i send you the xattrs of a file from the brick and from the mount
point...   I could see in both the outputs for the same file,
"security.selinux" is different..

------------------------------------------------------------------------------------------------------------------------------------
# file: export/sda3/brick/sharad.txt
security.selinux=0x756e636f6e66696e65645f753a6f626a6563745f723a66696c655f743a733000
trusted.afr.dirty=0x000000000000000000000000
trusted.afr.gv0-client-0=0x000000000000000000000000
trusted.afr.gv0-client-1=0x000000000000000000000000
trusted.gfid=0xa65d9352fd1a494496ee6cd66703e743
-----------------------------------------------------------------------------------------------------------------------------------------

# file: mnt/mpt/sharad.txt
security.selinux=0x73797374656d5f753a6f626a6563745f723a6675736566735f743a733000
--------------------------------------------------------------------------------------------------------------------------------------------

Again i explain the problem...

when I check /export/sda3/brick/,  sharad.txt is visible and accessible.

when I check /mnt/mpt, sharad.txt is accessible but not visible.


thanks
sharad

On Thu, Apr 23, 2015 at 10:47 AM, Susant Palai <spalai at redhat.com> wrote:

> Sharad,
>     The only thing that I can think of right now is the brick layout has
> been zeroed out [or anomaly in the brick layout] on this particular brick.
> Would you be able to send the brick xattr from all the nodes and missing
> file xattrs ?
> Command for that would be "getfattr -m . -de hex <FILE_PATH>".
>
> Regards,
> Susant
>
> ----- Original Message -----
> > From: "Sharad Shukla" <sharadshukla19 at gmail.com>
> > To: "Susant Palai" <spalai at redhat.com>
> > Cc: "gluster-users" <Gluster-users at gluster.org>
> > Sent: Thursday, 23 April, 2015 1:09:48 PM
> > Subject: Re: [Gluster-users] Files not visible under mount point
> >
> > Hi Susant,
> >
> > Please find below the brick stat and file stat under brick.
> >
> > -----------------------------------------------------------------------
> >   File: `brick/'
> >   Size: 4096          Blocks: 16         IO Block: 4096   directory
> > Device: 803h/2051d    Inode: 1044481     Links: 3
> > Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
> > Access: 2015-04-22 18:10:58.182390498 +0200
> > Modify: 2015-04-22 18:10:47.708522108 +0200
> > Change: 2015-04-22 18:10:47.708522108 +0200
> >
> --------------------------------------------------------------------------
> >
> >   File: `brick/sharad.txt'
> >   Size: 79            Blocks: 16         IO Block: 4096   regular file
> > Device: 803h/2051d    Inode: 1044626     Links: 2
> > Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
> > Access: 2015-04-22 18:10:52.453462461 +0200
> > Modify: 2015-04-22 18:10:47.665522649 +0200
> > Change: 2015-04-22 18:10:47.702522180 +0200
> >
> >
> ---------------------------------------------------------------------------------------
> >
> > Please let me know if you need any other details..
> >
> > Thanks
> > sharad
> >
> >
> >
> > On Thu, Apr 23, 2015 at 8:27 AM, Susant Palai <spalai at redhat.com> wrote:
> >
> > > Can you give stat of the files form the brick ?
> > >
> > > ----- Original Message -----
> > > > From: "Sharad Shukla" <sharadshukla19 at gmail.com>
> > > > To: Gluster-users at gluster.org
> > > > Sent: Wednesday, 22 April, 2015 10:03:26 PM
> > > > Subject: [Gluster-users] Files not visible under mount point
> > > >
> > > > Hi All,
> > > >
> > > > Somehow due to some hardware replacement, the gluster lost its
> > > connection..
> > > > Its now again well connected and everything looks fine but the files
> > > which i
> > > > had before are no more visible under mount point.
> > > >
> > > > The files though still are present inside the brick.
> > > >
> > > > Could you please help with this ?
> > > >
> > > > Thanks
> > > > Sharad
> > > >
> > > > _______________________________________________
> > > > Gluster-users mailing list
> > > > Gluster-users at gluster.org
> > > > http://www.gluster.org/mailman/listinfo/gluster-users
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150423/c4710477/attachment.html>


More information about the Gluster-users mailing list