8–iSER Configuration
Configuring iSER for Ubuntu
105
AH0054601-00 B
All rights reserved.
/>
ls
o- /...................................................[...]
o- backstores ...................................... [...]
| o- fileio ........................... [0 Storage Object]
| o- iblock ........................... [0 Storage Object]
| o- pscsi ............................ [0 Storage Object]
| o- rd_dr ............................ [0 Storage Object]
| o- rd_mcp ........................... [0 Storage Object]
o- ib_srpt ................................... [0 Targets]
o- iscsi ..................................... [0 Targets]
o- loopback .................................. [0 Targets]
o- qla2xxx ................................... [0 Targets]
o- tcm_fc .................................... [0 Targets]
/>
3.
Create a disk of type rd_mcp with size 1G named
iSERPort1-1
by issuing
the following command:
/>
backstores/rd_mcp create name=iSERPort1-1 size=1G
Generating a wwn serial.
Created rd_mcp ramdisk iSERPort1-1 with size 1G.
/>
/>
ls
o- / ................................................. [...]
o- backstores ...................................... [...]
| o- fileio ........................... [0 Storage Object]
| o- iblock ........................... [0 Storage Object]
| o- pscsi ............................ [0 Storage Object]
| o- rd_dr ............................ [0 Storage Object]
| o- rd_mcp ........................... [1 Storage Object]
| o- iSERPort1-1 ................. [ramdisk deactivated]
o- ib_srpt ................................... [0 Targets]
o- iscsi ..................................... [0 Targets]
o- loopback .................................. [0 Targets]
o- qla2xxx ................................... [0 Targets]
o- tcm_fc .................................... [0 Targets]
/>
4.
Create an iSCSI target by issuing the following command:
/>
iscsi/ create wwn=iqn.2004-01.com.qlogic.iSERPort1.Target1