[Samba] I/O error samba mount point (only with smbfs)
Iranna D Ankad
irannad at in.ibm.com
Tue Nov 29 13:54:53 GMT 2005
Hi,
I am getting an I/O error while running fsstress on client samba mount point
(only with smbfs)
Can anyone, please look into this problem?
Problem Description:
x370 was configured for samba server & x206f as samba client.
fsstress was running from two samba mount points from client i.e /SAMBA1 (type
cifs) & /SAMBA2 (type smbfs).
There was no load generating on /SAMBA2 & hence was not populating /SAMBA2
server mount point.But the load is properly getting generated on /SAMBA1 both
client & server mount points.
Steps to reproduce:-
Samba server configuration: (giving just brief idea)
create two partitions using fdsik of size 4 GB & make filesystem ext2 & ext3
respectively. Mount these 2 partitions with directories /SAMBA1 & /SAMBA2
created in / and then give 777 permissions to /SAMBA1 & /SAMBA2.
Then start smb & nmb daemons
Samba client configuration:
create directories /SAMBA1 & /SAMBA2 in / & give them 777 permissions.Then
mount -t cifs -o username=root //<samba-server ip-address>/SAMBA1 /SAMBA1
mount -t smbfs -o username=root //<samba-server ip-address>/SAMBA2 /SAMBA2
Run fsstress which is present in LTP test suite
(i.e /ltp-full../testcase/kernel/fs/fsstress)
nohup ./fsstress -d /SAMBA1 -l 0 -n 1000 -p 2 -r &
nohup ./fsstress -d /SAMBA2 -l 0 -n 1000 -p 2 -r &
Additional information:-
The nohup.out from client shows:
seed = 1130028113
seed = 1129370642
p0: Input/output error
p1: Input/output error
rm: cannot remove `/SAMBA2/*': Input/output error
p0: Input/output error
p1: Input/output error
rm: cannot remove `/SAMBA2/*': Input/output error
....................................
....................................
The /var/log/messege on server shows:
Oct 17 11:22:38 x370 smbd[29910]: [2005/10/17 11:22:38, 0]
lib/util_sock.c:read_data(526)
Oct 17 11:22:38 x370 smbd[29910]: read_data: read failure for 4 bytes to
client 9.184.114.87. Error = Connection reset by peer
Oct 17 11:02:00 x370 smbd[8747]: write_data: write failure in writing to
client 9.184.114.87. Error Connection reset by peer
Oct 17 11:02:00 x370 smbd[8747]: [2005/10/17 11:02:00, 0]
lib/util_sock.c:send_smb(762)
Oct 17 11:02:00 x370 smbd[8747]: Error writing 39 bytes to client. -1.
(Connection reset by peer)
The /var/log/messege on client shows:
Oct 17 17:47:56 x206f kernel: smb_lookup: find //p0 failed, error=-5
Oct 17 17:48:26 x206f kernel: smb_add_request: request [e56b9c80, mid=121]
timed out!
Oct 17 17:48:26 x206f kernel: smb_lookup: find //p0 failed, error=-5
Oct 17 17:48:56 x206f kernel: smb_add_request: request [e56b9c80, mid=122]
timed out!
Oct 17 17:48:56 x206f kernel: smb_lookup: find //p1 failed, error=-5
Oct 17 17:49:26 x206f kernel: smb_add_request: request [e56b9c80, mid=123]
timed out!
Oct 17 17:49:26 x206f kernel: smb_lookup: find //p1 failed, error=-5
Oct 17 17:49:56 x206f kernel: smb_add_request: request [e56b9e80, mid=124]
timed out!
Note: please let me know if you need more details in samba client/server
configuration in order to reproduce this problem.
Thanks & Regards
-Iranna D Ankad
-------------------------------------------------------------------------------
Linux-Technology Center
Embassy Golf Links Business Park, 'C' Block,6th Floor
Off Indiranagar Koramangala Ring Road
Bangalore 560 071 (INDIA)
Phone: +91-80-51927748 (Direct)
More information about the samba
mailing list