Chapter V. iSER
Software/Driver Configuration and Fine-tuning
i.
Configure LIO target with iSER support, using ramdisk as LUN:
[root@host~]# targetcli /backstores/ramdisk create name=ram0 size=1GB
[root@host~]# targetcli /iscsi create wwn=iqn.2003-01.org.lun0.target
[root@host~]# targetcli /iscsi/iqn.2003-01.org.lun0.target/tpg1/luns create
/backstores/ramdisk/ram0
[root@host~]# targetcli /iscsi/iqn.2003-01.org.lun0.target/tpg1 set
attribute authentication=0 demo_mode_write_protect=0 generate_node_acls=1
cache_dynamic_acls=1
[root@host~]# targetcli saveconfig
ii. Discover LIO target using OpeniSCSI initiator:
[root@host~]# iscsiadm -m discovery -t st -p
iii. Enable iSER support in LIO target:
[root@host~]# targetcli /iscsi/iqn.2003-
01.org.lun0.target/tpg1/portals/0.0.0.0:3260 enable_iser boolean=True
iv. Login from the initiator with iSER as transport:
[root@host~]# iscsiadm -m node -p 102.10.10.4 -T iqn.2003-01.org.lun0.target
--op update -n node.transport_name -v iser
[root@host~]# iscsiadm -m node -p 102.10.10.4 -T iqn.2003-01.org.lun0.target
--login
Chelsio Unified Wire for Linux
102.10.10.4
104
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers