Comments on: Create Centralized Secure Storage using iSCSI Target on RHEL/CentOS/Fedora Part -I https://www.tecmint.com/create-centralized-secure-storage-using-iscsi-targetin-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 04 Nov 2016 18:49:54 +0000 hourly 1 By: petry https://www.tecmint.com/create-centralized-secure-storage-using-iscsi-targetin-linux/comment-page-1/#comment-835082 Fri, 04 Nov 2016 18:49:54 +0000 http://www.tecmint.com/?p=7901#comment-835082 The firewall rules mentioned have no effect in your setup as you have a REJECT all just above. Maybe

# iptables -I INPUT …

Is a better choice.

]]>
By: Babin Lonston https://www.tecmint.com/create-centralized-secure-storage-using-iscsi-targetin-linux/comment-page-1/#comment-696884 Wed, 28 Oct 2015 13:10:13 +0000 http://www.tecmint.com/?p=7901#comment-696884 In reply to Anil Mishra.

Install pacakge using

# yum install targetcli -y

Use admin console command

# targetcli

Enable the service using system control

# systemctl enable target

]]>
By: Ravi Saive https://www.tecmint.com/create-centralized-secure-storage-using-iscsi-targetin-linux/comment-page-1/#comment-691757 Thu, 22 Oct 2015 05:17:05 +0000 http://www.tecmint.com/?p=7901#comment-691757 In reply to Anil Mishra.

@Anil,
I think you can install with yum as suggested..

# yum install targetcli
]]>
By: Anil Mishra https://www.tecmint.com/create-centralized-secure-storage-using-iscsi-targetin-linux/comment-page-1/#comment-691438 Wed, 21 Oct 2015 19:56:39 +0000 http://www.tecmint.com/?p=7901#comment-691438 Babin,
scsi-target-utils does not seem to be working with CENTOS 7.0. 7.0 has targetcli, not tgtadm. Is there a way to install tgtadm on Centos 7.0?
Thanks,
Anil

]]>
By: Ron Watkins https://www.tecmint.com/create-centralized-secure-storage-using-iscsi-targetin-linux/comment-page-1/#comment-475636 Fri, 06 Feb 2015 14:34:08 +0000 http://www.tecmint.com/?p=7901#comment-475636 I tried to follow the instructions, but am getting an error when I try to add a lun to a target:
[root@centos66 ~]# tgtadm –lld iscsi –mode target –op new –tid 1 –targetname iqn.2015-01.com.foobar:target01

[root@centos66 ~]# tgtadm –lld iscsi –mode logicalunit –op new –tid 1 –lun 1 -b /dev/iscsi_lv/lun0_lv
tgtadm: invalid request

Someone suggested I run the following command to see if iscsi target support is in my kernel, and it appears as it’s not.
grep CONFIG_ISCSI_TARGET /boot/config-`uname -r`

Do you know how you got the iscsi support in the kernel, or how to add it?
Im running CentOS 6.6

]]>