- 论坛徽章:
- 0
|
问题描述:
提供iscsi服务的是一台QNAP TS-439 Pro II
客户諯是一台 suse 10.1 x86_64
现在问题的问题是:从客户端电脑上挂载scsi目标是OK的,我进去分区也是OK的,可是当我格式化分区的时候就会出现如下提示:
sd 65:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 2
iscsi: cmd 0x28 is not queued (7)
sd 65:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 3
iscsi: cmd 0x28 is not queued (7)
sd 65:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 4
iscsi: cmd 0x28 is not queued (7)
sd 65:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 5
iscsi: cmd 0x28 is not queued (7)
sd 65:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 6
iscsi: cmd 0x28 is not queued (7)
sd 65:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 7
KERNEL: assertion (!atomic_read(&sk->sk_rmem_alloc)) failed at net/netlink/af_netlink.c (145)
iscsi: registered transport (tcp)
scsi67 : iSCSI Initiator over TCP/IP, v1.0-595
Vendor: QNAP Model: iSCSI Storage Rev: 3.1
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdc: 167772161 512-byte hdwr sectors (85899 MB)
sdc: Write Protect is off
sdc: Mode Sense: 2f 00 00 00
SCSI device sdc: drive cache: write through
SCSI device sdc: 167772161 512-byte hdwr sectors (85899 MB)
sdc: Write Protect is off
sdc: Mode Sense: 2f 00 00 00
SCSI device sdc: drive cache: write through
sdc: sdc1
sd 67:0:0:0: Attached scsi disk sdc
sd 67:0:0:0: Attached scsi generic sg2 type 0
scsi68 : iSCSI Initiator over TCP/IP, v1.0-595
Vendor: QNAP Model: iSCSI Storage Rev: 3.1
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdd: 41943041 512-byte hdwr sectors (21475 MB)
sdd: Write Protect is off
sdd: Mode Sense: 2f 00 00 00
SCSI device sdd: drive cache: write through
SCSI device sdd: 41943041 512-byte hdwr sectors (21475 MB)
sdd: Write Protect is off
sdd: Mode Sense: 2f 00 00 00
SCSI device sdd: drive cache: write through
sdd: sdd1
sd 68:0:0:0: Attached scsi disk sdd
sd 68:0:0:0: Attached scsi generic sg3 type 0
connection0:0: iscsi: detected conn error (1011)
iscsi_tcp_cleanup_ctask pending r2t dropped
iscsi_tcp_cleanup_ctask pending r2t dropped
iscsi_tcp_cleanup_ctask pending r2t dropped
iscsi_tcp_cleanup_ctask pending r2t dropped
iscsi_tcp_cleanup_ctask pending r2t dropped
iscsi_tcp_cleanup_ctask pending r2t dropped
iscsi_tcp_cleanup_ctask pending r2t dropped
iscsi_tcp_cleanup_ctask pending r2t dropped
iscsi_tcp_cleanup_ctask pending r2t dropped
......省略无数条与以下相似内容------
sd 67:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 167513667
iscsi: cmd 0x2a is not queued (7)
sd 67:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 167514179
iscsi: cmd 0x2a is not queued (7)
sd 67:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 167513671
iscsi: cmd 0x2a is not queued (7)
sd 67:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 167514183
iscsi: cmd 0x2a is not queued (7)
sd 67:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 167513675
sd 67:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sdc, sector 167514187
然后我试着用windows的initiator去挂载scsci目标并格式化,也是正常的。再连回到linux下也是正常。并能够正常读取里面的内容。可是当我将大量文件拷贝进去的时候,又出现了上述问题。莫名其它的连接就断了。
应该可以排除qnap设备的原因,因为同样在里面建的一个scsi目标,用另一台电脑挂载上去并使用是正常的。
不知道我是哪里漏掉了哪个重要步骤,烦请知情者能够不吝赐教 |
|