LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-15-2011, 11:30 PM   #1
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248
Blog Entries: 3

Rep: Reputation: 17
RHEL6 ISCSI service failed


Hi All
This is a RHEL6.1
I am trying to start the service of iscsi but not succeed
[root@dk ~]# yum install iscsi-initiator-utils
[root@dk ~]# yum install device-mapper-multipath

[root@dk ~]# service iscsi start
[root@dk ~]# service iscsi restart
Stopping iscsi: [ OK ]
[root@dk ~]#
make this entry at initiator but nothing happen
[root@dk ~]# echo "Initatior Aliase" >> /etc/iscsi/initiatorname.iscsi

[root@dk ~]# service iscsi status
iscsi is stopped
[root@dk ~]#

[root@dk ~]# tail -f /var/log/message

after restart the service looking for the error but didn't see in messages



[root@dk ~]# service iscsid restart
Stopping iscsid:
[root@dk ~]# [FAILED]

Last edited by pantdk; 12-16-2011 at 12:25 AM.
 
Old 12-18-2011, 01:53 PM   #2
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248

Original Poster
Blog Entries: 3

Rep: Reputation: 17
Hi All,


I trying to resolve it & suddenly it happen, these are the testing which i am using to find my iqn number.

this is the command which Wk for me
Quote:
[root@pant ~]# /etc/rc.d/init.d/iscsid force-start


Quote:
[root@pant ~]# rpm -q iscsi-initiator-utils
iscsi-initiator-utils-6.2.0.872-21.el6.i686
[root@pant ~]#

Quote:
[root@pant ~]# /etc/rc.d/init.d/iscsid force-start
Starting iscsid: [ OK ]
[root@pant ~]# /etc/rc.d/init.d/iscsi start
[root@pant ~]# /etc/rc.d/init.d/iscsid force-start
Starting iscsid:
[root@pant ~]# /etc/rc.d/init.d/iscsid restart
Stopping iscsid:
Starting iscsid: [ OK ]
[root@pant ~]# service iscsi status
No active sessions
[root@pant ~]# service iscsid status
iscsid (pid 3500) is running...
[root@pant ~]# service iscsi restart
Stopping iscsi: [ OK ]
[root@pant ~]# service iscsid status
iscsid (pid 3500) is running...
[root@pant ~]# service iscsi restart
Stopping iscsi: [ OK ]
[root@pant ~]# service iscsi status
iscsi is stopped
[root@pant ~]# service iscsi stop
Stopping iscsi: [ OK ]
[root@pant ~]# service iscsi stop
Stopping iscsi: [ OK ]
[root@pant ~]# service iscsid restart
Stopping iscsid:
Starting iscsid: [ OK ]
[root@pant ~]# service iscsi start
[root@pant ~]# service iscsi restart
Stopping iscsi: [ OK ]
[root@pant ~]# iscsiadm -m discovery -t sendtargets -p 172.16.11.1
172.16.11.1:3260,-1 iqn.2008-08.com:w100-ldcs-sez-dk
Quote:
[root@pant ~]# service iscsi status
iscsi is stopped
[root@pant ~]#
but i don't know why it didn't start

[root@pant ~]# iscsiadm -m node -T iqn.2008-08:w100-ldcs-sez-dk -p 172.16.11.1 -l
Logging in to [iface: default, target: iqn.2008-08.com:w100-ldcs-sez-dk, portal: 172.16.11.1,3260]
Login to [iface: default, target: iqn.2008-08.com:w100-ldcs-sez-dk, portal: 172.16.11.1,3260] successful.
[root@pant ~]#
Quote:
service iscsi status
iscsi is stopped
[root@pant ~]#

confusing ?????? can any-body explain why it happen


Problem has been resolve, but i don't why iscsi service don't starts so

So when iscsid is a daemon then iscsi has to be started becz daemon already starts

Last edited by pantdk; 12-18-2011 at 02:40 PM.
 
  


Reply



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
weird problem starting iscsi service dsp2267 Linux - Server 2 12-05-2011 01:08 AM
"No root device found.Boot has failed.sleeping forever." on rhel6 when compile kernel upo Linux - Kernel 12 08-23-2011 01:23 AM
iSCSI service cant connect to Openfiler oracle234 Linux - Networking 1 01-19-2011 03:51 PM
iSCSI initiator gives problems after relogging initiator service devkpict Linux - Software 0 06-27-2008 08:24 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 - Server

All times are GMT -5. The time now is 02:43 AM.

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