[arch-general] CIFS gives input/output error

Pavel Löbl lobl.pavel at gmail.com
Mon Sep 12 16:08:31 EDT 2011


Hi,
I'm having trouble using my public samba share.
The server setup is following

(some lines omitted)
...
security = user
map to guest = Bad User
unix extensions = no

[public]
path = /srv/samba
comment = Public Share
public = yes
browsable = yes
available = yes
writable = yes


and this is related part of the fstab on the client.

//lada/public   /mnt/samba     cifs
gid=network,dir_mode=0770,file_mode=0770,noauto,password=none,workgroup=PRIVAT
0    0


Basically it works but when i transfer some larger file, after
a couple of minutes, i get the input/output error.

This is all i've found in log files.

/var/log/samba/192.168.2.218.log

[2011/09/12 19:44:05.305132,  0] smbd/process.c:244(read_packet_remainder)
  read_fd_with_timeout failed for client 0.0.0.0 read error =
NT_STATUS_CONNECTION_RESET.
[2011/09/12 19:44:19.687109,  0] smbd/process.c:244(read_packet_remainder)
  read_fd_with_timeout failed for client 0.0.0.0 read error =
NT_STATUS_CONNECTION_RESET.
[2011/09/12 19:44:36.815509,  0] smbd/process.c:244(read_packet_remainder)
  read_fd_with_timeout failed for client 0.0.0.0 read error =
NT_STATUS_CONNECTION_RESET.
[2011/09/12 19:44:57.005984,  0] smbd/process.c:244(read_packet_remainder)
  read_fd_with_timeout failed for client 0.0.0.0 read error =
NT_STATUS_END_OF_FILE.

I'm not sure but it seems to me this is caused by the client side ?
I've tried to enable unix extensions and simplify mount options
but it didn't help either. Both machines are running arch,
samba is 3.6.0-8 and cifs 4.9-3.

I'm quite new to samba so any help would be greatly appreciated.

pl


More information about the arch-general mailing list