LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   RHEL6 ISCSI service failed (https://www.linuxquestions.org/questions/linux-server-73/rhel6-iscsi-service-failed-918992/)

pantdk 12-15-2011 11:30 PM

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]

pantdk 12-18-2011 01:53 PM

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


All times are GMT -5. The time now is 09:52 PM.