# # Create FILEIO Storage # create hba fileio 0 enter hba fileio 0 , create storage myfileio /data/lio-file 1024000000 # # Create iSCSI Target and map LUN # create target iqn.2003-01.org.linux-iscsi.fedora13.x86:sn.307c94a3c58e enter target iqn.2003-01.org.linux-iscsi.fedora13.x86:sn.307c94a3c58e , enter tpg 1 , create lun fileio0/myfileio 0 # # Create IBLOCK Storage and map LUN # create hba iblock 0 enter hba iblock 0 , create storage myiblock /dev/vg_data/lv_iscsi enter target iqn.2003-01.org.linux-iscsi.fedora13.x86:sn.307c94a3c58e , enter tpg 1 , create lun iblock0/myiblock 2 # # Create PSCSI Storage and map LUN # create hba pscsi 0 enter hba pscsi 0 , create storage mypscsi /dev/sdc enter target iqn.2003-01.org.linux-iscsi.fedora13.x86:sn.307c94a3c58e , enter tpg 1 , create lun pscsi0/mypscsi 4 # # Create ACLs for Initiators # enter target iqn.2003-01.org.linux-iscsi.fedora13.x86:sn.307c94a3c58e , enter tpg 1 , create nodeacl iqn.2005-03.com.redhat:01.52bdfdffb14a enter target iqn.2003-01.org.linux-iscsi.fedora13.x86:sn.307c94a3c58e , enter tpg 1 , create nodeacl iqn.2009-08.com.sun.virtualbox.initiator:01:192.168.10.173