[Samba] Missing files on cifs-mount

Rainer Pietsch r.pietsch at pcs-at.com
Tue Oct 19 06:13:31 MDT 2010


I have a cifs-mount on an ubuntu 10.04 client which do not show all files.

On other machines I can see all 58,000 files in a folder but on this
special machine I see only 122 files.

The server is an brave old smbd "Version 3.0.20b-3.5-SUSE" serving a
big network since years without anny troubles. I can see this files on
the server as well as on windows-clients.

The client making troubles is an ubuntu 10.04 server with a cifs client:
    "mount.cifs version: 1.12-3.4.7"
the config from the server:

---------------------
[global]
        workgroup = YYYY
        netbios name = XXXX
        map to guest = Bad User
        username map = /etc/samba/smbusers
        log level = 1 vfs:2
        unix extensions = No
        printcap name = cups
        add machine script = /usr/sbin/useradd  -c Machine -d
/var/lib/nobody -s /bin/false %m$
        logon path = \\%L\profiles\.msprofile
        logon drive = P:
        logon home = \\%L\%U\.9xprofile
        os level = 64
        preferred master = Yes
        domain master = No
        ldap ssl = no
        cups options = raw
        include = /etc/samba/dhcp.conf
...
...
[dataN]
        path = /var/share/dataN
        force group = users
        read only = No
        create mask = 0666
        force create mode = 0660
        directory mask = 0777
        force directory mode = 0770

...
...
----------------------
There is a real device mounted at " /var/share/dataN" (no link or
symbolic link) and there are NO smb-entries below this mount-point.
With other words: The whole tree is exportet and no subtree is
accessed separately.

Config at the client:
if /etc/fstab:
------------------
...
...
//xx.xx.xx.xx/dataN      /mnt/xxx      cifs   
rw,workgroup=YYYY,credentials=/root/xxx.cifs,nounix,iocharset=utf8,uid=1000,gid=1000
 
0       0
...
...
------------------

For example at  one folder at the server there are 58,000 files and at
the client I can only see the file 1 to 122.


Thank you in advance for any help!

-- 
Mit freundlichen Grüßen / best regards

Ing. Rainer Pietsch
----------------------------------------------------------
PCS - Pichler Computer Systeme
Inh. Claudia Pichler-Pietsch
Hauptplatz 10
A-2751 Steinabrückl
----------------------------------------------------------
mail:  r.pietsch at pcs-at.com
web:   http://www.pcs-at.com
tel.:  +43 (2622) 420 19 / 15
mobil: +43 (676) 31 242 69
fax:   +43 (2622) 420 19 / 20
----------------------------------------------------------



More information about the samba mailing list