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

starlight.2012q2 at binnacle.cx starlight.2012q2 at binnacle.cx
Fri May 11 07:56:52 MDT 2012


At 06:46 AM 5/11/2012 -0700, Jeremy Allison wrote:
>> 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 ?

Probably--didn't check.  Looking at whether
the value is the same or different between
different paths.  Re-issue 'ln -f' when
eifferent.  Fixed it better by using 'sha1sum'
for comparison instead of disabling it under
CYGWIN.

>How are you getting the inode numbers from Samba ?


#
# native
#

$ uname -a
Linux sys01 2.6.18-308.4.1.el5 #1 SMP Tue Apr 17 17:08:00 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
$ ls -1i s?/inc/df_types.h
2079 se/inc/df_types.h
2079 sp/inc/df_types.h
2079 sr/inc/df_types.h


#
# via Samba 3.6.4
#

$ uname -a
CYGWIN_NT-6.0-WOW64 SYS02 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin

//siobhan/d/df
$ ls -1i s?/inc/df_types.h
2495929639155718686 se/inc/df_types.h
6739374426238735187 sp/inc/df_types.h
5833933108098415313 sr/inc/df_types.h


#
# via NFSv3
#

$ uname -a
SunOS sys03 5.8 Generic_117000-01 sun4u sparc SUNW,Ultra-5_10
$ ls -1i s?/inc/df_types.h
      2079 se/inc/df_types.h
      2079 sp/inc/df_types.h
      2079 sr/inc/df_types.h



More information about the samba mailing list