Open Flavio2005 opened 3 years ago
After install this
dnf install rpm-build rpmdevtools
I have passed point 3 and I'm stopped at point 4
At the end of point 3
Esecuzione(%clean) in corso: /bin/sh -e /var/tmp/rpm-tmp.QcPkOA
+ umask 022
+ cd /root/tcmu-runner/extra/rpmbuild/BUILD
+ cd tcmu-runner-1.5.4
+ /usr/bin/rm -rf /root/tcmu-runner/extra/rpmbuild/BUILDROOT/tcmu-runner-1.5.4-0.fc34.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Well. Now if I run
cmake .
nothing is happening
cd /root/tcmu-runner/extra/rpmbuild/BUILD/tcmu-runner-1.5.4
cmake .
make
make install
develop the installation file
Question and now how can I launch it? if I just type tcmu-runner from the log I understand that it starts but does not return the prompt ... any help is welcome
Please set up the LIO device by using the targetcli tool, and if you are testing this based ceph then please switch to use the ceph-iscsi tool instead, if you are testing the gluster please see the gluster-block tool.
Using the targetcli you can simply setup one LIO device based on the file_exmaple.c
handler.
Thanks for the reply
I am not using Ceph but only GlusterFs. Since I have used it for 3 years in the 3.17 release without major problems, I am testing the functioning of a newer release in a mini lab. 9.2
To go out in iSCSI, consistent with what I did with the 3.17 release in Fedora 27, I'm trying to get the following products to work: Gluster (official version 9.2, updated and maintained)
Gluster-block https://github.com/gluster/gluster-block
Tcmu-runner https://github.com/open-iscsi/tcmu-runner
TargetCli (not updated, now there is the TargetCli-FB fork) https://github.com/open-iscsi/targetcli-fb
Unfortunately in Fedora34 I ran into difficulties with Gluster-block Issue https://github.com/gluster/gluster-block/issues/287
Tcmu-runner Issue https://github.com/open-iscsi/tcmu-runner/issues/655
TargetCli Issue also here, where it is necessary to compile the fork but the instructions, for my knowledge, are too synthetic
About what you write, ".... Using the targetcli you can simply setup one LIO device based on the file_exmaple.c handler"
could you kindly tell me how to act on the file you indicated? or can you direct me to a suitable freelancer?
Thanks a lot! Flavio
I apologize for the question, but I cannot understand where I am wrong
Any help is greatly appreciated I am using Fedora34, fresh from installation I summarize the commands I have launched
git clone https://github.com/open-iscsi/tcmu-runner
cd tcmu-runner
./extra/install_dep.sh
[root@GluNodo11]# cd ./extra
and now my problemIf I run
[root@GluNodo11 extra]# ./make_runnerrpms.sh [--without (rbd|glfs|qcow|zbc|fbo)]
-bash: errore di sintassi vicino al token non atteso "("
If I run
[root@GluNodo11 extra]# ./make_runnerrpms.sh
Clone in '/tmp/tcmu-runner-build/tcmu-runner-1.5.4' in corso...
done.
./make_runnerrpms.sh: riga 65: rpmbuild: command not found
Where am I wrong?
I'm using Fedora release 34 Kernel 5.11.12-300.fc34.x86_64
Any help will be highly appreciated I apologize for the question, for many trivial