Jaouich.Cyril@hydro.qc.ca
2004-Sep-23 17:07 UTC
[Samba] Problems with Samba 3.0.5 only seeing 1360 files on a share to a Windows 2000
Hi, I have a share: [share] path = /appl/md/data valid users = +asd write list = +asd read only = No create mask = 0664 directory mask = 0775 And it has directories that have 3000 files in them, but when I look at the same directory thru a Windows 2000, I only see 1360 files, no more. If I type the path a file that isn't shown in the directory listing, I can get to it. Also if I create a new file in the directory, it gets created, but doesn't show in the directory list. Any ideas? Looks like a Windows thing, but... Thanks Cyril Jaouich (Consultant Unix) ------------------------------------------ Support technique des infrastructures Unix ------------------------------------------ T?l: 514-840-3000x5527
John H Terpstra
2004-Sep-23 17:46 UTC
[Samba] Problems with Samba 3.0.5 only seeing 1360 files on a share to a Windows 2000
Cyril, What is the samba version? - John T. On Thursday 23 September 2004 10:03, Jaouich.Cyril@hydro.qc.ca wrote:> Hi, > > I have a share: > > [share] > path = /appl/md/data > valid users = +asd > write list = +asd > read only = No > create mask = 0664 > directory mask = 0775 > > And it has directories that have 3000 files in them, but when I look > at the same directory thru a Windows 2000, I only see 1360 files, no more. > If I type the path a file that isn't shown in the directory listing, I can > get to it. Also if I create a new file in the directory, it gets created, > but doesn't show in the directory list. > > Any ideas? Looks like a Windows thing, but... > > Thanks > > Cyril Jaouich (Consultant Unix) > ------------------------------------------ > Support technique des infrastructures Unix > ------------------------------------------ > T?l: 514-840-3000x5527-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP by Example, ISBN: 0131488732 Other books in production.
Jaouich.Cyril@hydro.qc.ca
2004-Sep-24 16:24 UTC
[Samba] Problems with Samba 3.0.5 only seeing 1360 files on a share to a Windows 2000
In dos (win 2000 cmd) it's shows the same, but under linux I seen all the files. Has anyone seen this before? Cyril Jaouich (Consultant Unix) ------------------------------------------ Support technique des infrastructures Unix ------------------------------------------ T?l: 514-840-3000x5527 -----Message d'origine----- De : Denis Vlasenko [mailto:vda@port.imtp.ilyichevsk.odessa.ua] Envoy? : jeudi 23 septembre 2004 16:25 ? : jht@samba.org; samba@lists.samba.org Objet : Re: [Samba] Problems with Samba 3.0.5 only seeing 1360 files on a share to a Windows 2000> > [share] > > path = /appl/md/data > > valid users = +asd > > write list = +asd > > read only = No > > create mask = 0664 > > directory mask = 0775 > > > > And it has directories that have 3000 files in them, but when I look > > at the same directory thru a Windows 2000, I only see 1360 files, nomore.> > If I type the path a file that isn't shown in the directory listing, Ican> > get to it. Also if I create a new file in the directory, it getscreated,> > but doesn't show in the directory list.Does dir show this the same? Can you try to smbmount your share back to your machile and see what Linus will show? -- vda -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Tomasz Rosiak
2004-Sep-29 15:13 UTC
[Samba] Re: Problems with Samba 3.0.5 only seeing 1360 files on a share to a Windows 2000
>In dos (win 2000 cmd) it's shows the same, but under linux I seen allthe files. >Has anyone seen this before? I have seen something like that, but only about 130 entries (files or dir's) were seen. ls -l showed 146 entries, the same amount was returned by ls in smbclient. I am using samba 3.0.7 from FreeBSD port. FreeBSD verision is 4.10. Yesterday I tried to simulate such situation - I've created about 1800 directory entries (using mktemp), but in Windows 2000 all of them were seen. I suppose, the amount of seen entries depends on their name's lengths. I've also made some syscall tracing on smbd when listing such directory (the one with 146 long entries) and it looked way like this: [..] read dir stat entry #1 stat entry #2 . . stat entry #130 send partial response to socket (about 16kB) stat entry #131 . . stat entry #146 send the rest of response (about 1-2 kB) In Windows only entries sent in first response were seen. Does anyone have any idea? Maybe analyzing responses from Windows server would help (for example using Ethereal) ? -- Tomasz Rosiak