Доброго! Создал iscsi таргет на tgt с бэкендом glusterfs.
tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2015-04.local.msk03:storage.disk1
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --bstype glfs --lun 1 --backing-store="gfs01@127.0.0.1:disk1"
tgtadm --lld iscsi --op show --mode target
tgtadm --lld iscsi --op show --mode target
Target 1: iqn.2015-04.local.msk03:storage01
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00010000
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
SWP: No
Thin-provisioning: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 7340032 MB, Block size: 512
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
SWP: No
Thin-provisioning: No
Backing store type: glfs
Backing store path: gfs01@127.0.0.1:disk1
Backing store flags:
Account information:
ACL information:
10.30.60.0/24
tgt-admin --dump > /etc/tgt/targets.conf
cat /etc/tgt/target.conf
<target iqn.2015-04.local.msk03:storage01>
driver iscsi
bs-type glfs
backing-store gfs01@10.30.60.100:disk1
initiator-address 10.30.60.0/24
</target>
Target 1: iqn.2015-04.local.msk03:storage01
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00010000
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
SWP: No
Thin-provisioning: No
Backing store type: null
Backing store path: None
Backing store flags:
Account information:
ACL information:
10.30.60.0/24