[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#316107: marked as done (samba: Sporadic missing files in directory listings over smbfs)



Your message dated Tue, 27 Nov 2007 23:58:33 +0100
with message-id <20071127225833.GD14432@baikonur.stro.at>
and subject line kernel smbfs broken
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: samba
Version: 3.0.14a-3
Severity: important


I have a smbfs drive mounted like this:

mount -t smbfs -o username=Administrator,password=XXX //10.0.3.1/c$
//net/c

I do this several times:

ls -1 /net/c/WINDOWS/system32 | wc

responses from wc (lines, words, bytes):

2111 2113 24550
2111 2113 24550
2106 2108 24496
2111 2113 24550
2107 2109 24501
2112 2114 24559

As you can see, the results from ls are inconsistent.  Some files are
sometimes missing, but there's no real pattern.  In reality there are
2119 files in this directory (DIR /A H c:\WINDOWS\system32 reports 2074
files, 47 directories which includes . and ..).

I can reproduce this on several systems without even having to try hard.
It works on any directory that is sufficiently large (say >1000 files).

There's a bug report and a fix at samba.org which is over 3 months old,
that supposedly solves this problem:

https://bugzilla.samba.org/show_bug.cgi?id=2271

The latest debian version however does not seem to include this fix (I
cannot find the patch in the debian sources).

This problem makes it very hard to do automated backup/restore
operations as the backup over smbfs is often simply incomplete because
of the missing entries in the directories.

I'll be happy to provide any further information.  My config is an
almost completely default Debian testing install, and I can also
reproduce it on my 2nd Debian box.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages samba depends on:
ii  debconf [debconf-2.0]       1.4.30.11    Debian configuration management sy
ii  libacl1                     2.2.23-1     Access control list shared library
ii  libattr1                    2.4.16-1     Extended attribute shared library
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libcomerr2                  1.35-6       The Common Error Description libra
ii  libcupsys2-gnutls10         1.1.23-10    Common UNIX Printing System(tm) - 
ii  libkrb53                    1.3.6-1      MIT Kerberos runtime libraries
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libpam-modules              0.76-22      Pluggable Authentication Modules f
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  logrotate                   3.7-2        Log rotation utility
ii  netbase                     4.21         Basic TCP/IP networking system
ii  samba-common                3.0.14a-3    Samba common files used by both th

-- debconf information excluded


--- End Message ---
--- Begin Message ---
smbfs is deprecated and will be removed soon upstream.
please migrate your setup to cifs.

"CIFS Userland utilities are provided in the smbfs Debian package so the
switch should be mostly a matter of a few minutes work and manpage reading
(some options might differ)." -samba maintainer

thus closing

-- 
maks


--- End Message ---

Reply to: