<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
HI, I tried to compile tgt on Centos 6.6 following Dan instructions
(<a class="moz-txt-link-freetext" href="http://www.gluster.org/pipermail/gluster-users/2015-April/021394.html">http://www.gluster.org/pipermail/gluster-users/2015-April/021394.html</a>).<br>
The system is clean and before compile tgt I installed gluster 3.6.3
and scsi-target-utils<br>
<br>
here what I do:<br>
<meta charset="utf-8">
git clone <a class="moz-txt-link-freetext" href="https://github.com/fujita/tgt.git">https://github.com/fujita/tgt.git</a><br>
yum -y install glusterfs-api-devel<br>
export GLFS_BD=1<br>
make install<br>
<br>
I have a volume gvolume installed on node1. I mounted the volume and
created a file disk1.img with fallocate for iscsi<br>
<br>
In order tio create the LUN I used this command:<br>
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --bstype glfs
--lun 1 --backing-store=<a class="moz-txt-link-rfc2396E" href="mailto:gvolume@node1:disk1.img">"gvolume@node1:disk1.img"</a><br>
but I receive <br>
tgtadm: invalid request<br>
<br>
In /var/log/messages I can read :<br>
May 5 13:00:14 node1 tgtd: device_mgmt(246) sz:41
<a class="moz-txt-link-abbreviated" href="mailto:params:path=gvolume@node1:disk1.img,bstype=glfs">params:path=gvolume@node1:disk1.img,bstype=glfs</a><br>
May 5 13:00:14 node1 tgtd: bs_thread_open(408) 16<br>
<br>
I haven't understand the problem and how to fix it?<br>
<br>
Can somebody help me?<br>
<br>
Regards, Luca<br>
</body>
</html>