[Samba] Files Missing on smbfs on RH 7.3

woodbri at swoodbridge.com woodbri at swoodbridge.com
Wed Oct 23 04:39:00 GMT 2002


Thanks for the suggestion. I will check out sharity.

The problem is not file names. I did a little more experimentation 
and found that if I use a perl script like:

find2perl /smbfs -ls > doit.pl
perl doit.pl | wc
perl doit.pl | wc
perl doit.pl | wc
perl doit.pl | wc

That the number of lines tends to increase until all the files are 
shown, but I have to do it rapidly. If I wait for a little bit then 
  perl doit.pl | wc
the count goes down again. If I use:
  ls -Ral /smbfs | wc
  find /smbfs -ls | wc
these never seem to show all the files.

The files are definitely there and accessible via the smbfs. If I 
compare the file list generated on the linux side to one created on 
the windows to find which files are not listed, I can list them 
individually by:
  ls -l /smbfs/path/to/missing/file
without a problem.

So you can see why this is a fairly alarming problem.


On 23 Oct 2002 at 6:19, Walter Mautner wrote:

> > -----Original Message-----
> > From: samba-admin at lists.samba.org
> > [mailto:samba-admin at lists.samba.org] On Behalf Of
> > woodbri at swoodbridge.com
> > Sent: Tuesday, October 22, 2002 8:06 PM
> > To: samba at lists.samba.org
> > Subject: Re: [Samba] Files Missing on smbfs on RH 7.3
> >
> >
> > So nobody has a clue as to what might be causing this problem or how
> > to fix it? I am REALLY stuck on this issue! All of our automation
> > scripts are now questionable as to their ability to backup and
> > process file on the Windows boxes from our Linux boxes.
> >
> You could try out sharity instead of smbmount (www.obdev.at). It
> basically
> does the same thing, but works in user space.
> Are you sure there are no "illegal" characters like colons in your
>  filenames? Have you tried "name mangling" stuff?

More information about the samba mailing list