Jeremy Allison
2022-May-11 16:17 UTC
[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.
Pednekar, Shirish
2022-May-16 06:34 UTC
[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.