This is an old revision of the document!


Quick start

/etc/init.d/target stop rmmod qla2xxx modprobe qla2xxx qlini_mode=“disabled”

We have already LVM group vg_0

lvcreate -L 10G -n deset vg_0
targetcli
/> cd /backstores/fileio
/backstores/fileio> create sovgut /dev/testlio/deset
cd /qla2xxx
create 21:00:00:1b:32:1f:74:39
create 21:01:00:1b:32:3f:74:39

Now we need client's wwn number. Easiest way is to

 cat /sys/class/scsi_host/host4/port_name

But this would be more helpfull

 cat /sys/class/fc_host/host*/port_name | sed -e s/0x// -e 's/../&:/g' -e s/:$//
 
linux/lio.1430610265.txt.gz · Last modified: 2015/05/03 01:44 by admin