[Samba] "file not found" under high-contention

Jeremy Allison jra at samba.org
Fri May 11 07:46:57 MDT 2012


On Wed, May 09, 2012 at 07:00:25PM -0400, starlight.2012q2 at binnacle.cx wrote:
> Well sometimes it's easy too. . .
> 
> Turns out that Samba is delivering inodes
> that are different when the underlying file
> is the same.  Have some hard-links created
> in the build, and the script logic that
> suppresses 'ln -f' when they're already
> correctly linked was failing on the Windows
> side.  This lead to brief instants when
> the files really were not present.
> 
> Fixed by suppressing the re-hard-link
> when 'uname -s' starts with CYGWIN_NT-.
> 
> I suppose there is some good reason why
> the Samba inode values don't reflect
> any semblance to the Linux reality, but
> it's not helpful.

Are the Samba returned inodes always self-consistent ?

How are you getting the inode numbers from Samba ?

Jeremy.


More information about the samba mailing list