HI, I tried to compile tgt on Centos 6.6 following Dan instructions
(http://www.gluster.org/pipermail/gluster-users/2015-April/021394.html).
The system is clean and before compile tgt I installed gluster 3.6.3 and
scsi-target-utils
here what I do:
git clone https://github.com/fujita/tgt.git
yum -y install glusterfs-api-devel
export GLFS_BD=1
make install
I have a volume gvolume installed on node1. I mounted the volume and
created a file disk1.img with fallocate for iscsi
In order tio create the LUN I used this command:
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --bstype glfs
--lun 1 --backing-store="gvolume@node1:disk1.img"
but I receive
tgtadm: invalid request
In /var/log/messages I can read :
May 5 13:00:14 node1 tgtd: device_mgmt(246) sz:41
params:path=gvolume@node1:disk1.img,bstype=glfs
May 5 13:00:14 node1 tgtd: bs_thread_open(408) 16
I haven't understand the problem and how to fix it?
Can somebody help me?
Regards, Luca
_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users