[Samba] 2 GB file limit
Iain Morrison
iain.morrison at mrc-cbu.cam.ac.uk
Tue Nov 26 18:17:02 GMT 2002
Dear samba users,
we are having problems copying files greater that 2Gb from PCs [Win
2K] to our samba server [Solaris 2.6] when using 2.2.6 or 2.2.7. We
had no problems with 2.2.5 once oplocks had been turned off.
Any suggestions about what I might be doing wrong? Samba compiled
from source with no special options [Makefile edited to relocate
binaries and logs]. Given the vulnerability in pre 2.2.7 samba
installations we are keen to sort this out.
The log entries at failure follow........
level 1
=======
[2002/11/25 09:38:25, 0] smbd/fileio.c:seek_file(43)
seek_file: (PC_Transfer/foo) sys_lseek failed. Error was Invalid argument
level 3
=======
[2002/11/25 10:02:40, 3] smbd/reply.c:reply_write_and_X(2981)
writeX fnum=9110 num=61440 wrote=61440
[2002/11/25 10:02:40, 3] smbd/process.c:process_smb(878)
Transaction 34975 of length 61508
[2002/11/25 10:02:40, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 13042)
[2002/11/25 10:02:40, 3] smbd/reply.c:reply_write_and_X(2981)
writeX fnum=9110 num=61440 wrote=61440
[2002/11/25 10:02:40, 3] smbd/process.c:process_smb(878)
Transaction 34976 of length 61508
[2002/11/25 10:02:40, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 13042)
[2002/11/25 10:02:40, 0] smbd/fileio.c:seek_file(43)
seek_file: (PC_Transfer/foo) sys_lseek failed. Error was Invalid argument
[2002/11/25 10:02:40, 3] smbd/error.c:error_packet(94)
error string = Invalid argument
[2002/11/25 10:02:40, 3] smbd/error.c:error_packet(113)
error packet at smbd/reply.c(2966) cmd=47 (SMBwriteX)
NT_STATUS_INVALID_HANDLE
[2002/11/25 10:02:40, 3] smbd/process.c:process_smb(878)
Transaction 34977 of length 81
[2002/11/25 10:02:40, 3] smbd/process.c:switch_message(685)
switch message SMBtrans2 (pid 13042)
[2002/11/25 10:02:41, 3] smbd/trans2.c:call_trans2setfilepathinfo(2418)
call_trans2setfilepathinfo(8) PC_Transfer/foo info_level=1013 totdata=1
[2002/11/25 10:02:41, 3] smbd/process.c:process_smb(878)
Transaction 34978 of length 45
[2002/11/25 10:02:41, 3] smbd/process.c:switch_message(685)
switch message SMBclose (pid 13042)
[2002/11/25 10:02:41, 3] smbd/reply.c:reply_close(3162)
close fd=23 fnum=9110 (numopen=1)
[2002/11/25 10:02:44, 2] smbd/close.c:close_normal_file(213)
iain closed file PC_Transfer/foo (numopen=0)
[2002/11/25 10:03:44, 3] smbd/sec_ctx.c:set_sec_ctx(329)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Level 4
=======
[2002/11/25 10:22:40, 3] smbd/reply.c:reply_write_and_X(2981)
writeX fnum=9101 num=61440 wrote=61440
[2002/11/25 10:22:40, 3] smbd/process.c:process_smb(878)
Transaction 34976 of length 61508
[2002/11/25 10:22:40, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 14174)
[2002/11/25 10:22:40, 4] smbd/uid.c:change_to_user(113)
change_to_user: Skipping user change - already user
[2002/11/25 10:22:40, 0] smbd/fileio.c:seek_file(43)
seek_file: (PC_Transfer/foo) sys_lseek failed. Error was Invalid argument
[2002/11/25 10:22:40, 3] smbd/error.c:error_packet(94)
error string = Invalid argument
[2002/11/25 10:22:40, 3] smbd/error.c:error_packet(113)
error packet at smbd/reply.c(2966) cmd=47 (SMBwriteX)
NT_STATUS_INVALID_HANDLE
[2002/11/25 10:22:40, 3] smbd/process.c:process_smb(878)
Transaction 34977 of length 81
[2002/11/25 10:22:40, 3] smbd/process.c:switch_message(685)
switch message SMBtrans2 (pid 14174)
[2002/11/25 10:22:40, 4] smbd/uid.c:change_to_user(113)
change_to_user: Skipping user change - already user
[2002/11/25 10:22:40, 3] smbd/trans2.c:call_trans2setfilepathinfo(2418)
call_trans2setfilepathinfo(8) PC_Transfer/foo info_level=1013 totdata=1
[2002/11/25 10:22:40, 3] smbd/process.c:process_smb(878)
Transaction 34978 of length 45
[2002/11/25 10:22:40, 3] smbd/process.c:switch_message(685)
switch message SMBclose (pid 14174)
[2002/11/25 10:22:40, 4] smbd/uid.c:change_to_user(113)
change_to_user: Skipping user change - already user
[2002/11/25 10:22:40, 3] smbd/reply.c:reply_close(3162)
close fd=23 fnum=9101 (numopen=1)
[2002/11/25 10:22:43, 4] smbd/dosmode.c:set_filetime(333)
set_filetime(PC_Transfer/foo) failed: No such file or directory
[2002/11/25 10:22:43, 2] smbd/close.c:close_normal_file(213)
iain closed file PC_Transfer/foo (numopen=0)
[2002/11/25 10:22:47, 3] smbd/process.c:process_smb(878)
Transaction 10 of length 39
[2002/11/25 10:22:47, 3] smbd/process.c:switch_message(685)
switch message SMBtdis (pid 14315)
[2002/11/25 10:22:47, 3] smbd/sec_ctx.c:set_sec_ctx(329)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/11/25 10:22:47, 3] smbd/sec_ctx.c:set_sec_ctx(329)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/11/25 10:22:47, 3] smbd/service.c:close_cnum(677)
pc192 (193.63.253.224) closed connection to service IPC$
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