[Samba] saving from word & excel
arnim
arnimsmb at rupp.de
Mon Apr 24 12:10:26 GMT 2006
hi,
we're using a samba-server over DSL using openVPN and the speed is very
good at browsing directories and quite OK at loading/saving files except
for word & excel where it takes about 20-30 seconds to save even a small
file.
which is no wonder because the following happens in log.smbd when i click
"save" in word, it obviously checks for a bazillion tmp- and lockfiles (
e.g. ~WRL... is tmp-clipboard according to some MS-document). (it's
logevel 3|grep " file ").
call_trans2qfilepathinfo: SMB_VFS_STAT of httpdocs/testdir/OLE2.DLL failed (No such file or directory)
call_trans2qfilepathinfo: SMB_VFS_STAT of httpdocs/testdir/Microsoft Shared failed (No such file or directory)
call_trans2qfilepathinfo: SMB_VFS_STAT of httpdocs/testdir/~WRD0000.tmp failed (No such file or directory)
call_trans2qfilepathinfo: SMB_VFS_STAT of httpdocs/testdir/~WRD0000.tmp failed (No such file or directory)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=Yes write=Yes (numopen=3)
smb_user opened file httpdocs/testdir/test4.doc read=No write=No (numopen=4)
unix_user closed file httpdocs/testdir/test4.doc (numopen=3)
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=2)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=Yes write=Yes (numopen=3)
call_trans2qfilepathinfo: SMB_VFS_STAT of httpdocs/testdir/Sicherungskopie von test4.wbk failed (No such file or directory)
call_trans2qfilepathinfo: SMB_VFS_STAT of httpdocs/testdir/~WRL0001.tmp failed (No such file or directory)
call_trans2qfilepathinfo: SMB_VFS_STAT of httpdocs/testdir/~WRL0001.tmp failed (No such file or directory)
unix_user closed file httpdocs/testdir/test4.doc (numopen=2)
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=1)
smb_user opened file httpdocs/testdir/test4.doc read=No write=No (numopen=2)
call_nt_transact_query_security_desc: file = httpdocs/testdir/test4.doc, info_wanted = 0x7
unix_user closed file httpdocs/testdir/test4.doc (numopen=1)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=No write=No (numopen=2)
call_nt_transact_set_security_desc: file = httpdocs/testdir/~WRD0000.tmp, sent 0x7
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=1)
smb_user opened file httpdocs/testdir/test4.doc read=Yes write=No (numopen=2)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=Yes write=Yes (numopen=3)
smb_user opened file httpdocs/testdir/test4.doc read=No write=No (numopen=4)
call_nt_transact_query_security_desc: file = httpdocs/testdir/test4.doc, info_wanted = 0xc
call_nt_transact_query_security_desc: file = httpdocs/testdir/test4.doc, info_wanted = 0xc
unix_user closed file httpdocs/testdir/test4.doc (numopen=3)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=No write=No (numopen=4)
call_nt_transact_set_security_desc: file = httpdocs/testdir/~WRD0000.tmp, sent 0x80000004
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=3)
unix_user closed file httpdocs/testdir/test4.doc (numopen=2)
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=1)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=Yes write=Yes (numopen=2)
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=1)
smb_user opened file httpdocs/testdir/test4.doc read=No write=No (numopen=2)
call_nt_transact_query_security_desc: file = httpdocs/testdir/test4.doc, info_wanted = 0x7
unix_user closed file httpdocs/testdir/test4.doc (numopen=1)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=No write=No (numopen=2)
call_nt_transact_set_security_desc: file = httpdocs/testdir/~WRD0000.tmp, sent 0x7
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=1)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=No write=No (numopen=2)
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=1)
smb_user opened file httpdocs/testdir/test4.doc read=Yes write=No (numopen=2)
smb_user opened file httpdocs/testdir/~WRL0001.tmp read=No write=Yes (numopen=3)
unix_user closed file httpdocs/testdir/test4.doc (numopen=2)
unix_user closed file httpdocs/testdir/~WRL0001.tmp (numopen=1)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=No write=No (numopen=2)
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=1)
smb_user opened file httpdocs/testdir/test4.doc read=No write=No (numopen=2)
unix_user closed file httpdocs/testdir/test4.doc (numopen=1)
smb_user opened file httpdocs/testdir/~WRD0000.tmp read=No write=No (numopen=2)
unix_user closed file httpdocs/testdir/~WRD0000.tmp (numopen=1)
smb_user opened file httpdocs/testdir/~WRL0001.tmp read=Yes write=Yes (numopen=2)
smb_user opened file httpdocs/testdir/test4.doc read=Yes write=Yes (numopen=3)
smb_user opened file httpdocs/testdir/~WRL0001.tmp read=No write=No (numopen=4)
unix_user closed file httpdocs/testdir/~WRL0001.tmp (numopen=3)
call_trans2qfilepathinfo: SMB_VFS_STAT of httpdocs/testdir/~$RL0001.tmp failed (No such file or directory)
unix_user closed file httpdocs/testdir/~WRL0001.tmp (numopen=2)
smb_user opened file httpdocs/testdir/~WRL0001.tmp read=Yes write=Yes (numopen=3)
unix_user closed file httpdocs/testdir/~WRL0001.tmp (numopen=2)
smb_user opened file httpdocs/testdir/~WRL0001.tmp read=No write=No (numopen=3)
unix_user closed file httpdocs/testdir/~WRL0001.tmp (numopen=2)
smb_user opened file httpdocs/testdir/test4.doc read=No write=No (numopen=3)
unix_user closed file httpdocs/testdir/test4.doc (numopen=2)
i opened/saved the same file with openoffice: just 4 lines in the log,
done after some seconds.
OK, that's apparently a MS-office problem, still it would be nice to have
some solution for it. my customers are of course comparing the speed to
MS-sharepoint which is a lot faster on the same DSL-line. (sharepoint uses
DAV if i'm not mistaken, still that's the thing samba is compared to.)
ciao
arnim
More information about the samba
mailing list