Ravishankar N
2016-Oct-19 15:47 UTC
[Gluster-users] Folder disappeared on the mount point , but exists on bricks.
On 10/19/2016 01:29 PM, yujin wrote:> hi all > > ** I've just had an interestingissuewith our gluster storage: > > Folder disappeared on the mount point , but exists on bricks. > > e.g: > > mount point /videos_store > subdirectory "video/luo" is exists on all bricks. > when "ls /videos_store/video/" the "luo" was disappeared. on > the mount point > but when "ls /videos_store/video/luo/" i can see all files on > the "luo". > > > > i had saw all logs. but didn't find anything useful. > > I've done the following: > > 1 . heal full > 2. mv /videos_store/video/luo/ to /tmp; then mkdir > /videos_store/video/luo/ > 3. mount volume to another point : /videos_store2 . > 4. mount volume on another server. >Can you check if the trusted.gfid xattr for luo exists on all bricks and that the gfid symlink inside the .glusterfs directory points to luo on all of them? -Ravi> > but The problem is still. > > Versions: > * GlusterFS v3.6.1 > * centos 6.6 > *Distributed-Replicate replica *2 > > thanks. > > > > > _______________________________________________ > 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/20161019/eeea5fb1/attachment.html>
yujin
2016-Oct-20 01:51 UTC
[Gluster-users] Folder disappeared on the mount point , but exists on bricks.
yes i check the trusted.gfid xattr for luo on all bricks: as below? ------ getfattr -m . -d -e hex /data2/gluster/video/luo getfattr: Removing leading '/' from absolute path names # file: data2/gluster/video/luo trusted.gfid=0x5383184bd9df49e580da03a1b8fd1105 trusted.glusterfs.dht=0x0000000100000000000000003fe3161b ------ ll /data2/gluster/.glusterfs/53/83/ total 10932 lrwxrwxrwx 1 root root 54 Sep 27 09:28 5383184b-d9df-49e5-80da-03a1b8fd1105 -> ../../1c/ba/1cba14ab-1e7c-4d71-be89-6424862cb673/luo ----------- thanks . --- On 2016?10?19? 23:47, Ravishankar N wrote:> On 10/19/2016 01:29 PM, yujin wrote: >> hi all >> >> ** I've just had an interestingissuewith our gluster storage: >> >> Folder disappeared on the mount point , but exists on bricks. >> >> e.g: >> >> mount point /videos_store >> subdirectory "video/luo" is exists on all bricks. >> when "ls /videos_store/video/" the "luo" was disappeared. on >> the mount point >> but when "ls /videos_store/video/luo/" i can see all files on >> the "luo". >> >> >> >> i had saw all logs. but didn't find anything useful. >> >> I've done the following: >> >> 1 . heal full >> 2. mv /videos_store/video/luo/ to /tmp; then mkdir >> /videos_store/video/luo/ >> 3. mount volume to another point : /videos_store2 . >> 4. mount volume on another server. >> > > Can you check if the trusted.gfid xattr for luo exists on all bricks > and that the gfid symlink inside the .glusterfs directory points to > luo on all of them? > -Ravi >> >> but The problem is still. >> >> Versions: >> * GlusterFS v3.6.1 >> * centos 6.6 >> *Distributed-Replicate replica *2 >> >> thanks. >> >> >> >> >> _______________________________________________ >> 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/20161020/9d3f01d9/attachment.html>
Ravishankar N
2016-Oct-20 05:43 UTC
[Gluster-users] Folder disappeared on the mount point , but exists on bricks.
On 10/20/2016 07:21 AM, yujin wrote:> > yes > > i check the trusted.gfid xattr for luo on all bricks: > > as below? > > ------ > getfattr -m . -d -e hex /data2/gluster/video/luo > getfattr: Removing leading '/' from absolute path names > # file: data2/gluster/video/luo > trusted.gfid=0x5383184bd9df49e580da03a1b8fd1105 > trusted.glusterfs.dht=0x0000000100000000000000003fe3161b > ------ > ll /data2/gluster/.glusterfs/53/83/ > total 10932 > lrwxrwxrwx 1 root root 54 Sep 27 09:28 > 5383184b-d9df-49e5-80da-03a1b8fd1105 -> > ../../1c/ba/1cba14ab-1e7c-4d71-be89-6424862cb673/luo > ----------- > > thanks . >Could you verify the same for the parent directory of luo ('video') as well? Also, try setting the client-log-level to DEBUG and see if you find anything in the debug messages of the mount log when you "ls /videos_store/video/" from that client. Thanks, Ravi> > --- > > On 2016?10?19? 23:47, Ravishankar N wrote: >> On 10/19/2016 01:29 PM, yujin wrote: >>> hi all >>> >>> ** I've just had an interestingissuewith our gluster storage: >>> >>> Folder disappeared on the mount point , but exists on bricks. >>> >>> e.g: >>> >>> mount point /videos_store >>> subdirectory "video/luo" is exists on all bricks. >>> when "ls /videos_store/video/" the "luo" was disappeared. on >>> the mount point >>> but when "ls /videos_store/video/luo/" i can see all files on >>> the "luo". >>> >>> >>> >>> i had saw all logs. but didn't find anything useful. >>> >>> I've done the following: >>> >>> 1 . heal full >>> 2. mv /videos_store/video/luo/ to /tmp; then mkdir >>> /videos_store/video/luo/ >>> 3. mount volume to another point : /videos_store2 . >>> 4. mount volume on another server. >>> >> >> Can you check if the trusted.gfid xattr for luo exists on all bricks >> and that the gfid symlink inside the .glusterfs directory points to >> luo on all of them? >> -Ravi >>> >>> but The problem is still. >>> >>> Versions: >>> * GlusterFS v3.6.1 >>> * centos 6.6 >>> *Distributed-Replicate replica *2 >>> >>> thanks. >>> >>> >>> >>> >>> _______________________________________________ >>> 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/20161020/8e794b83/attachment.html>