Click here to load reader
Upload
ashwin-pawar
View
1.664
Download
1
Embed Size (px)
DESCRIPTION
iscsid remains stopped on Redhat EL6
Citation preview
Issue:
Unable to start iSCSI service on Redhat Enterprise Linux 6.
Symptoms:
After installing iSCSI modules using 'yum install iSCSI*', following modules were
installed by the system.
[root@redhatcentos Desktop]# rpm -qa | grep iscsi
iscsi-initiator-utils-6.2.0.873-2.el6.x86_64
iscsi-initiator-utils-devel-6.2.0.873-2.el6.x86_64
But, when trying to start the iscsi service, iscsi service remained stopped, as
shown in the example below.
[root@redhatcentos Desktop]# service iscsid status
iscsid is stopped
[root@redhatcentos Desktop]# service iscsid start
[root@redhatcentos Desktop]# service iscsid status
iscsid is stopped
# Even though service 'start' command was issued, iscsid remained stopped.
Cause:
In Red Hat Enterprise Linux 6, the iSCSI service is lazily started by default. If root is
not on an iSCSI device or there are no nodes marked with node.startup =
automatic then the iSCSI service will not start.
Ref: https://access.redhat.com/site/documentation/en-
US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/ch-
iscsi.html
Resolution:
Use iscsiadm command that requires iscsid or the iscsi kernel modules to be
started. For example, running the discovery command iscsiadm -m discovery -t st
-p ip:port will cause iscsiadmin to start the iSCSI service.
[root@redhatcentos Desktop]# iscsiadm -m discovery -t sendtargets -p
192.168.1.12
Starting iscsid: [ OK ]
192.168.1.12:3260,2 iqn.1992-08.com.netapp:sn.4055372815
[root@redhatcentos Desktop]# service iscsid status
iscsid (pid 3039) is running...
[root@redhatcentos Desktop]#
Or,
Force the iSCSI daemon to run and iSCSI kernel modules to load, run service iscsid
force-start.