Mittwoch, 27. März 2013

LIO Rocks?

LIO Rocks?
YES!
Would you like to have: SRPT, ISCSI, FC device from local disks?
Then Simply install Ubuntu 12.10, (I know maybe 12.04?),
apt-get upgrade
apt-get install targetcli

 Dive in:
targetcli
>ls
 Welcome to the targetcli shell:

 Copyright (c) 2011 by RisingTide Systems LLC.

Visit us at http://www.risingtidesystems.com.

Using ib_srpt fabric module.
Using loopback fabric module.
Using qla2xxx fabric module.
Using iscsi fabric module.
Using tcm_fc fabric module.
/> list
Command not found list
/> ls
o- / ..................................................................... [...]
  o- backstores .......................................................... [...]
  | o- fileio ............................................... [0 Storage Object]
  | o- iblock ............................................... [1 Storage Object]
  | | o- araid63fc .......................... [/dev/vg_araif063/lvol0 activated]
  | o- pscsi ................................................ [0 Storage Object]
  | o- rd_dr ................................................ [0 Storage Object]
  | o- rd_mcp ............................................... [0 Storage Object]
  o- ib_srpt ........................................................ [0 Target]
  o- iscsi .......................................................... [0 Target]
  o- loopback ....................................................... [0 Target]
  o- qla2xxx ........................................................ [1 Target]
  | o- 21:00:00:24:ff:04:6e:84 ....................................... [enabled]
  |   o- acls .......................................................... [1 ACL]
  |   | o- 21:00:00:24:ff:04:6e:fa .............................. [1 Mapped LUN]
  |   |   o- mapped_lun0 ........................................... [lun0 (rw)]
  |   o- luns .......................................................... [1 LUN]
  |     o- lun0 .................... [iblock/araid63fc (/dev/vg_araif063/lvol0)]
  o- tcm_fc ......................................................... [0 Target]