[Gluster-users] iscsi and distributed volume

luca giacomelli giacomelli.luca at gmail.com
Tue May 5 11:09:06 UTC 2015


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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150505/0af2c269/attachment.html>


More information about the Gluster-users mailing list