Core-iSCSI/Cisco MDS 9216i
From Linux-iSCSI
- See platforms for an overview over the supported devices and CPUs.
| This article needs a review and may need a cleanup or additional content. Please help improve this article to meet our quality standards. (12/1/2010) |
Target
Base configuration:
iscsi enable
iscsi interface vsan-membership
vsan database
vsan 400 interface iscsi1/1
iscsi authentication none
iscsi virtual-target name targ1-testlab-legolas1
pWWN 50:00:1f:e1:50:02:ca:29
advertise interface GigabitEthernet1/1
initiator ip address 10.48.31.95 permit
iscsi initiator ip-address 10.48.31.95
static pWWN 24:01:00:0d:ec:19:11:83
vsan 400
zone name ISCSI_LINUX_TESTLAB vsan 400
member pwwn 24:01:00:0d:ec:19:11:83
member ip-address 10.48.31.95
member pwwn 50:00:1f:e1:50:02:ca:29
member pwwn 50:00:1f:e1:50:02:ca:2d
member pwwn 50:00:1f:e1:50:02:ca:2e
member pwwn 50:00:1f:e1:50:02:ca:2b
zoneset name Zoneset_400 vsan 400
member ISCSI_LINUX_TESTLAB
Client
Initiator
legolas1# show iscsi initiator
iSCSI Node name is 10.48.31.95
iSCSI Initiator name: iqn.2002-07.com.pyxtechnologies:sn.7ee2f1c662b9
iSCSI alias name: PyX Initiator
Configured node (iSCSI)
Node WWN is 24:01:00:0d:ec:19:11:82 (dynamic)
Member of vsans: 400
Number of Virtual n_ports: 1
Virtual Port WWN is 24:01:00:0d:ec:19:11:83 (configured)
Interface iSCSI 1/1, Portal group tag: 0x3000
VSAN ID 400, FCID 0x0f0300
legolas1# show iscsi virtual-target
target: targ1-testlab-legolas1
* Port WWN 50:00:1f:e1:50:02:ca:29
Configured node (iSCSI)
No. of advertised interface: 1
GigabitEthernet 1/1
No. of initiators permitted: 3
initiator 10.48.31.95/32 is permitted
All initiator permit is disabled
Trespass support is disabled
Linux (2.6.18.3)
iCHANNEL[0] - Incremented iSCSI connection count to 1 to node: targ1-testlab-legolas1 iCHANNEL[0] - Established iSCSI session to node: targ1-testlab-legolas1 iSCSI Core Stack[1] - Incremented number of active iSCSI sessions to 1. Vendor: HP Model: HSV210 Rev: 5110 Type: RAID ANSI SCSI revision: 05 scsi 3:0:0:0: Attached scsi generic sg2 type 12 Vendor: HP Model: HSV210 Rev: 5110 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sdb: 14680064 512-byte hdwr sectors (7516 MB) sdb: Write Protect is off sdb: Mode Sense: 97 00 10 08 d610 sysconfig # fdisk -l /dev/sdb Disk /dev/sdb: 7516 MB, 7516192768 bytes 255 heads, 63 sectors/track, 913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 913 7333641 8e Linux LVM
Acknowledgements
Courtesy bdblinux@gmail.com.