iscsi

tgtadm --op show --lld iscsi --mode target

tgtadm ---op delete --lld iscsi --lun 1 --tid 1 --mode target

tgtadm --op delete --lld iscsi --mode target --tid 1

tgtadm --op show --lld iscsi --mode target

source /etc/iscsi/initiatorname.iscsi

tgtadm --op new --lld iscsi --mode target --tid 1 -T $InitiatorName

tgtadm --op new --lld iscsi --mode logicalunit --tid 1 --lun 1 -b /dev/mapper/vgasmdg-asmdsk1

tgtadm --op new --lld iscsi --mode logicalunit --tid 1 --lun 2 -b /dev/mapper/vgasmdg-asmdsk2

tgtadm --lld iscsi --mode target --op bind --tid 1 --initiator-address 192.168.1.247

tgtadm --lld iscsi --mode target --op bind --tid 1 --initiator-address 192.168.1.248