[Samba] Truncated list of files/folders when using AWS EFS share

Rowland Penny rpenny at samba.org
Fri Sep 16 08:14:24 UTC 2022



On 16/09/2022 08:46, Pednekar, Shirish via samba wrote:
> Hello,
> 
> We have tested with older versions of Samba - including 4.10.16 which is shipped with RHEL7, and do not see this issue - it only appears to happen on RHEL8 boxes.

Things work on earlier versions, code is changed and then they don't, 
until someone notices and it gets fixed again, but the fix may not be 
backported to earlier versions. Did you try 4.15.7 (or later) ?

Rowland

> 
> Thanks,
> Shirish
> 
> -----Original Message-----
> From: Pednekar, Shirish
> Sent: Monday, May 16, 2022 2:35 PM
> To: Jeremy Allison <jra at samba.org>; Ralph Boehme <slow at samba.org>
> Cc: samba at lists.samba.org
> Subject: RE: [Samba] Truncated list of files/folders when using AWS EFS share
> 
> Hello Jeremy,
> 
> Thank you for looking into my case.
> 
> Yes, I am trying to standup a new machine with 4.15.7, I will update what transpires.
> 
> Thanks,
> Shirish
> 
> -----Original Message-----
> From: Jeremy Allison <jra at samba.org>
> Sent: Thursday, May 12, 2022 12:17 AM
> To: Ralph Boehme <slow at samba.org>
> Cc: Pednekar, Shirish <Shirish.Pednekar at qube-rt.com>; samba at lists.samba.org
> Subject: Re: [Samba] Truncated list of files/folders when using AWS EFS share
> 
> On Wed, May 11, 2022 at 09:30:26AM +0200, Ralph Boehme via samba wrote:
>> On 5/11/22 08:54, Pednekar, Shirish via samba wrote:
>>> I have Samba Server Version  4.14.5 installed on RHEL8
>>> (REDHAT_SUPPORT_PRODUCT_VERSION="8.5") Installed on an EC2 instance
>>> and the mount is an EFS. I can't list all the files/folders browsing
>> >from the windows client.
>>
>> does EFS support xattrs? If not, you could try setting "store dos
>> attributes = no", but I'm not sure if this is going to help.
>>
>> You may want to closely inspect a Samba log with level 10, comparing
>> both cases to find out where things go south. The code of the directory
>> enumeration loop is not that hard to follow, in the logs look out for
>> lines containing "smbd_dirptr_get_entry".
> 
> This "feels" (no more data than that I'm afraid :-) like the duplicate fileid problem that got fixed in 4.15.7.
> 
> Is there a chance you can install 4.15.7 or later on this box to check ?
> 
> Jeremy.
> 
> 



More information about the samba mailing list