• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Performanceproblem mit SAMBA

baracus

Newbie
N'Abend zusammen!

Hab ein kleines Problem mit meinem Samba-Server und vielleicht kennt ja wer die Lösung: ich hab einige Verzeichnisse für einen Windows-PC freigegeben und verbinde diese am Windows-PC mittels Batch-Skript beim hochfahren. Funktioniert auch alles sehr super, nur beim ersten Zugriff auf die Netzlaufwerke dauert es ca. 20 - 30 Sekunden, bevor ich das Verzeichnis gelistet bekomme. Beim nächsten Zugriff funktioniert alles super schnell.
Hat wer eine Idee wie ich das ändern kann?

Danke schon mal und Grüße
B.A.
 

rolle

Guru
Es gibt unter Windows eine Option 'schnelles Einbinden' oder so für Netzlaufwerke. Damit werden diese beim Booten noch nicht echt eingebunden, sondern nur als Symbol dargestellt und bei Zugriff automatisch verbunden. Das könnte abgestellt werden.
Auch der Betrieb des PDC als WINS kann manchmal Wunder wirken, da dann die Namensauflösung in der Domäne deutlich schneller geht.
 
OP
B

baracus

Newbie
Hat leider alles nichts gebracht. Vielleicht hilfts ja wenn ich meine config-Datei mal hier reintstelle. Vielleicht sieht ja wer was ungewöhnliches.

Witzig ist auch, dass der Zugriff nur über den Explorer so langsam ist. Wenn ich das ganze über die Commandline aufrufe geht es normal schnell.

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/11/04 16:26:53

[global]
workgroup = DAHOAM
netbios name = MURCIELAGO
server string = MURCIELAGO
map to guest = Bad User
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
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
oplock break wait time = 5
printer admin = @ntadmin, root, administrator
cups options = raw
include = /etc/samba/dhcp.conf

[homes]
comment = Home Directories
valid users = %S
read only = No
inherit acls = Yes
browseable = No

[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes

[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775

[spiele]
path = /home/baracus/storage/Spiele/
read only = No
inherit acls = Yes

[treiber]
path = /home/baracus/storage/Treiber/
read only = No
inherit acls = Yes

[books]
comment = Bücher
path = /home/baracus/save/Books/
read only = No
inherit acls = Yes

[dateien]
comment = Sicherungsverzeichnis
path = /home/baracus/save/Dateien/
read only = No
inherit acls = Yes

[filme]
comment = Movies
path = /home/baracus/filme/
read only = No
inherit acls = Yes

[mp3s]
comment = Musik
path = /home/baracus/mp3s/
read only = No
inherit acls = Yes

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root

[programme]
comment = Installationsverzeichnis
path = /home/baracus/storage/Programme/
read only = No
inherit acls = Yes

[save]
comment = Allg. Backup
path = /home/baracus/save/Save/
read only = No
inherit acls = Yes
 
Oben