LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-07-2012, 07:54 PM   #1
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Question iscsi in RHEL6 - issues


I am simply trying to mount some targets from a fresh RHEL 6. This was so simple in 5. The RHEL docs online aren't really helping. I am missing something simple I think.

1. I have this installed:
iscsi-initiator-utils-6.2.0.872-34.el6.x86_64

2. starting iscsid via init goes nowhere:
[root@server me]# /etc/init.d/iscsid start
[root@server me]#

3. No iscsi modules loaded:
[root@server me]# lsmod | grep iscsi
[root@server me]#

4. So naturally, trying to discover devices fails:
[root@server me]# iscsiadm -m discovery -type sendtargets --portal 10.1.1.90:3260 --discover
iscsiadm: Discovery record [10.1.1.90,3260] not found!

5. There isn't a basic networking issue here as its simply a rebuild of a CentOS5 box with the same IP and iptables and selinux are disabled.

6. Starting iscsid manually returns this:
[root@server me]# /sbin/iscsid -d 8 -f
iscsid: sysfs_init: sysfs_path='/sys'

iscsid: sysfs_attr_get_value: open '/module/scsi_transport_iscsi'/'version'

iscsid: sysfs_attr_get_value: new uncached attribute '/sys/module/scsi_transport_iscsi/version'

iscsid: sysfs_attr_get_value: add to cache '/sys/module/scsi_transport_iscsi/version'

iscsid: sysfs_attr_get_value: stat '/sys/module/scsi_transport_iscsi/version' failed: No such file or directory

iscsid: Missing or Invalid version from /sys/module/scsi_transport_iscsi/version. Make sure a up to date scsi_transport_iscsi module is loaded and a up todate version of iscsid is running. Exiting...

I know the module isn't loaded but it should be according to the iscsid init script so I am stuck.
 
Old 01-07-2012, 10:35 PM   #2
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Original Poster
Rep: Reputation: 30
Since it was a quick process, I rebuilt and started fresh. I am able to connect. I will re-trace my steps and see if I did something that caused it before.
 
Old 01-08-2012, 12:23 AM   #3
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Original Poster
Rep: Reputation: 30
It has to do with me adding iface(s) and attempting to use them in my discovery. As soon as I add ifaces and set the hwaddress, I can't do a discovery unless I explicitly pick the 'default' interface.
 
Old 01-09-2012, 08:46 PM   #4
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Original Poster
Rep: Reputation: 30
I had what I thought was an unrelated issue causing this. I had to set net.ipv4.conf.default.rp_filter to zero in /etc/sysctl.conf and then run sysctl -p
 
  


Reply

Tags
iscsi, iscsid, rhel 6, rhel6


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RHEL6 ISCSI service failed pantdk Linux - Server 1 12-18-2011 01:53 PM
RHEL6: LDAP-based Auth, pam_ldap, and uidNumber issues... enigma_0Z Linux - Enterprise 1 11-22-2011 02:51 PM
[SOLVED] Issues with OpenLDAP in RHEL6 manyrootsofallevil Linux - Server 2 06-12-2011 10:20 AM
[SOLVED] Regarding RHEL6 praveenu83 Linux - Enterprise 2 06-24-2010 12:03 AM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration