Start the iSCSI Initiator Service

After you have configured the iSCSI initiator, set the iSCSI initiator to start at startup time and confirm that your iSCSI devices are visible.

  1. Start the iSCSI initiator.
    1. Run the following command for operating systems that use the open-iscsi service:
      # service open-iscsi start
    2. Run the following command for operating systems that use the iscsi service:
      # service iscsi start
  2. Configure the iscsi or open-iscsi service to start at boot time.
    Run the following commands depending upon your iSCSI service. The first command checks that the scripts necessary to start and stop the service are available. The second command sets the service to start at the appropriate run levels.
    1. # chkconfig -–add iscsi
    2. # chkconfig iscsi on
      or
    3. # chkconfig -–add open-iscsi
    4. # chkconfig open-iscsi on
  3. Verify that the iscsi or open-iscsi service is configured to start at boot time.
    Run the following commands depending upon your iSCSI service:
    1. # chkconfig -–list iscsi
    2. # chkconfig -–list open-iscsi

    Result:The following is a sample of the output of this command when the service is not configured to start at boot time:
    0:off 1:off 2:off 3:off 4:off 5:off 6:off
    The following is a sample of the output of this command when the service is configured to start at boot time:
    0:off 1:off 2:on 3:on 4:on 5:on 6:off