分类: 服务器与存储
2011-03-18 09:57:51
# iscsiadm -m discovery -t sendtargets -p 192.168.1.124:3260192.168.1.124:3260,1 iqn.2004-04.com.qnap:ts-809:iscsi.vnat001.c50c55 |
# iscsiadm -m node -T iqn.2004-04.com.qnap:ts-809:iscsi.vnat001.c50c55 -p 192.168.1.124:3260 -l |
[root@localhost ~]# iscsiadm -m session -i iSCSI Transport Class version 2.0-871 version 2.0-871 Target: iqn.2004-04.com.qnap:ts-809:iscsi.vnat001.c50c55 Current Portal: 192.168.1.124:3260,1 Persistent Portal: 192.168.1.124:3260,1 ********** Interface: ********** Iface Name: default Iface Transport: tcp Iface Initiatorname: iqn.2011-03.com.test:001 Iface IPaddress: 192.168.35.222 Iface HWaddress: Iface Netdev: SID: 1 iSCSI Connection State: LOGGED IN iSCSI Session State: LOGGED_IN Internal iscsid Session State: NO CHANGE ************************ Negotiated iSCSI params: ************************ HeaderDigest: None DataDigest: None MaxRecvDataSegmentLength: 262144 MaxXmitDataSegmentLength: 8192 FirstBurstLength: 65536 MaxBurstLength: 262144 ImmediateData: Yes InitialR2T: Yes MaxOutstandingR2T: 1 ************************ Attached SCSI devices: ************************ Host Number: 0 State: running scsi0 Channel 00 Id 0 Lun: 0 Attached scsi disk sda State: running |