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

samba file deletes slow



Hi,

i'm using Samba 3.0.20b-2 0 and i have problems deleting bigger files
(>10mb) from a windows xp machine on a share on my Linux server.
Before i upgraded Samba this wasn't a problem and it worked.

When trying to delete such a file, now the explorer is going inactive.
Earlier, it would just popup a question to confirm deletion.
If i wait long enough and the files aren't to big, i still get the
delete confirmation messages so the problem seems to be that the read of
the file/permissions goes slow?

I use this method to move backups from the Linux server to burn them on
CD. Anyway, to find out what the problem is, i tried mounting the
partition on XP where i store the backups.
This went ok BUT the copy was extremely slow. It would only allow a
couple of KB's per second !
The reverse way (XP to Linux share) went ok but here the same problem,
if i wanted to delete the file after the copy to Linux, i just got the
hourglass and nothing happened. This was not on the backup folder but on
my home folder so it can't be a permissions problem.

What could be wrong?

This is my samba config
[global]
   panic action = /usr/share/samba/panic-action %d
   workgroup = MYGROUP
   netbios name = HOMESERVER
   server string = %L
   socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY
SO_SNDBUF=8192 SO_RCVBUF=8192
   os level = 64
   preferred master = yes
   local master = yes
   domain master = yes
   hide unreadable = yes
   time server = yes
   syslog = 0
   dns proxy = no
   security = user
   encrypt passwords = true
   domain logons = yes
   log file = /var/log/samba/log.%m
   log level = 3 passdb:5 auth:10 winbind:2
   max log size = 150
   hosts allow = 127.0.0.1 192.168.1.1 192.168.1.10
192.168.1.0/255.255.255.0
   interfaces = br0
   bind interfaces only = yes
   add user script = /root/scripts/create-machine-account.sh %u

   logon path = \\%L\profiles\%U\%m
   logon script = logon.bat
   logon drive = I:
   logon home = \\%L\%U\.win_profile\%m

   ldap admin dn = cn=admin,dc=domain,dc=be
   ldap suffix = dc=domain,dc=be
   ldap machine suffix = ou=People
   ldap group suffix = ou=Group
   ldap user suffix = ou=People
   ldap server = localhost
   ldap passwd sync = yes
   ldap timeout = 10

   add user script = /usr/local/sbin/create-machine-account.sh %u
   passdb backend = ldapsam:ldap://localhost:389

[homes]
   comment = Home Directories
   browseable = no
   writeable = yes
   create mask = 0700
   directory mask = 0700

[backup]
   comment = Backups
   path = /usr/local/backup
   browsable = yes
   writable = yes
   create mask = 0775
   directory mask = 775

[netlogon]
   path = /home/netlogon
   read only = yes
   write list = benedict

[profiles]
    path = /home/samba
    browsable = no
    writable = yes
    create mask = 0600
    directory mask = 0700

Thanks for any info,
Benedict

-- 
Benedict Verheyen                   Debian User
http://www.heimdallit.be            Public Key 0x712CBB8D



Reply to: