[Samba] 2.2.6 file size problems

Iain Morrison iain.morrison at mrc-cbu.cam.ac.uk
Tue Oct 22 19:23:00 GMT 2002


Hi,
   running samba 2.2.6 on a solaris 2.6 box we cant copy files 2Gb or 
larger from a Win 2K PC to the samba share.

We had the same problem before but using

oplocks = no

cured the problem. No such luck this time. The file being copied was 
called foo. Copying large files from the samba share to the PC works 
fine. Any ideas?

Level 3 debug output is shown below....

   Transaction 34982 of length 61508
[2002/10/22 20:02:09, 3] smbd/process.c:switch_message(685)
   switch message SMBwriteX (pid 23901)
[2002/10/22 20:02:09, 3] smbd/reply.c:reply_write_and_X(2975)
   writeX fnum=6290 num=61440 wrote=61440
[2002/10/22 20:02:09, 3] smbd/process.c:process_smb(878)
   Transaction 34983 of length 61508
[2002/10/22 20:02:09, 3] smbd/process.c:switch_message(685)
   switch message SMBwriteX (pid 23901)
[2002/10/22 20:02:09, 0] smbd/fileio.c:seek_file(43)
   seek_file: (foo) sys_lseek failed. Error was Invalid argument
[2002/10/22 20:02:09, 3] smbd/error.c:error_packet(91)
   error string = Invalid argument
[2002/10/22 20:02:09, 3] smbd/error.c:error_packet(110)
   error packet at smbd/reply.c(2960) cmd=47 (SMBwriteX) 
NT_STATUS_INVALID_HANDLE
[2002/10/22 20:02:09, 3] smbd/process.c:process_smb(878)
   Transaction 34984 of length 81
[2002/10/22 20:02:09, 3] smbd/process.c:switch_message(685)
   switch message SMBtrans2 (pid 23901)
[2002/10/22 20:02:10, 3] smbd/trans2.c:call_trans2setfilepathinfo(2418)
   call_trans2setfilepathinfo(8) foo info_level=1013 totdata=1
[2002/10/22 20:02:10, 3] smbd/process.c:process_smb(878)
   Transaction 34985 of length 45
[2002/10/22 20:02:10, 3] smbd/process.c:switch_message(685)
   switch message SMBclose (pid 23901)
[2002/10/22 20:02:10, 3] smbd/reply.c:reply_close(3156)
   close fd=23 fnum=6290 (numopen=1)
[2002/10/22 20:02:14, 2] smbd/close.c:close_normal_file(213)
   iain closed file foo (numopen=0)


ta

iain
-- 

--------------------------------------------------------------
Iain Morrison
MRC Cognition and Brain Sciences Unit
15 Chaucer Road                  Tel   01223 355294 xt 581
Cambridge                        Fax   01223 359062
CB2 2EF
                          email iain.morrison at mrc-cbu.cam.ac.uk
--------------------------------------------------------------



More information about the samba mailing list