files on stripe not visible with ls or stat, but files visible at the filesystem layer can still be cat'd / viewed through the gluster fuse layer (you just have to know the file name)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sabuj,


I tried it on 3.2.5 it works fine for me.

Let me know any specific steps to reproduce the issue.


Thanks,
Shylesh


----- Original Message -----
From: Sabuj Pattanayek <sabujp at gmail.com>
To: gluster-users at gluster.org
Sent: Fri, 06 Apr 2012 09:11:10 -0400 (EDT)
Subject: Re: files on stripe not visible with ls or stat, but files visible at the filesystem layer can still be cat'd / viewed through the gluster fuse layer (you just have to know the file name)

No & 3.2.5

On Fri, Apr 6, 2012 at 2:18 AM, Shylesh Kumar Mohan <shmohan at redhat.com> wrote:
> Hi Sabuj,
>
> We have observed this scenario in case of stripe count change.
> Have you changed the stripe count since volume creation?
>
> Also please mention which version you are using.
>
>
>
> Thanks,
> Shylesh
>
>
>
>
> ----- Original Message -----
> From: Sabuj Pattanayek <sabujp at gmail.com>
> To: gluster-users at gluster.org
> Sent: Thu, 05 Apr 2012 17:53:46 -0400 (EDT)
> Subject: Re: files on stripe not visible with ls or stat, but files visible at the filesystem layer can still be cat'd / viewed through the gluster fuse layer (you just have to know the file name)
>
> Also if I try to rm -rf the directory from the fuse mount, it'll tell
> me that it has files in it and won't let me do it.
>
> On Thu, Apr 5, 2012 at 4:30 PM, Sabuj Pattanayek <sabujp at gmail.com> wrote:
>> Hi,
>>
>> I've got a strange issue inside of a directory on a 5 brick stripe. ls
>> or stat doesn't show any of the files in the directory through the
>> gluster fuse mount and I get this error in the client logs :
>>
>> [2012-04-05 16:19:58.327166] W [fuse-bridge.c:2095:fuse_readdir_cbk]
>> 0-glusterfs-fuse: 1417: READDIR => -1 (No such file or directory)
>> [2012-04-05 16:21:32.647667] E
>> [client3_1-fops.c:411:client3_1_stat_cbk] 0-pirstripe-client-2: remote
>> operation failed: No such file or directory
>> [2012-04-05 16:21:32.647925] E
>> [client3_1-fops.c:411:client3_1_stat_cbk] 0-pirstripe-client-3: remote
>> operation failed: No such file or directory
>> [2012-04-05 16:21:32.647981] E
>> [client3_1-fops.c:411:client3_1_stat_cbk] 0-pirstripe-client-1: remote
>> operation failed: No such file or directory
>> [2012-04-05 16:21:32.648034] E
>> [client3_1-fops.c:411:client3_1_stat_cbk] 0-pirstripe-client-4: remote
>> operation failed: No such file or directory
>>
>> However, if I cat the file through the fuse layer the contents show
>> up. I can also see that the files exist in the filesystem layer on all
>> the bricks. Files which are smaller than the stripe size exist on one
>> of the nodes and all the other files are 0 byted, which looks correct.
>> Large files are properly split across the bricks. I've tried
>> restarting glusterd and glusterfsd on the bricks, unmounting and
>> remounting the fuse mount point from several clients, but the files
>> still don't want to show up. The server logs don't show any errors
>> whenever I try an ls in the directory, the READDIR error only shows up
>> in the client log.
>>
>> How can I get the files to show up in ls?
>>
>> Thanks,
>> Sabuj
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux