To use RHEL/CentOS 6 system as an iSCSI initiator or client, you must have iscsi-initiator-utils package installed. You can verify that this is installed on your system using the rpm command, as shown in the following example:
$ rpm -qa | grep iscsi-initiator-utils
Install the package if its not already available on your system using yum.
# yum install iscsi-initiator-utils
Start the iscsi demaon and use chkconfig to enable it to start after reboot as well.
# service iscsi start # chkconfig iscsi on
Once you have installed the required package and started the service you can start discovering the available targets. To Obtain a listing of available targets from a given host (please note that ipaddress listed below must be replaced with the resolvable hostname or IP address of the system providing the port if different than default):
# iscsiadm -m discovery -t st -p 192.168.10.10 192.168.10.10:3260,1 iqn.2010-03.com.example:tgtd
Continue reading “Configure iSCSI Initiator (client) in CentOS / RHEL 6” »