Applies to:

Operating Systems - RHEL 5.x, RHEL 6.x, OL 5.x, OL 6.x, Oracle VM 2.x
Platform - Applies to all Dell PowerEdge Servers


To discover iSCSI targets, login targets, and logout targets from your EqualLogic iSCSI storage array.


Once the process of installing the iSCSI initiator is completed as seen in the wiki article,, the next step is to discover your iSCSI targets.

Discovering iSCSI Targets:

Once you have the iSCSI service running you will use the 'iscsiadm' userspace utility to discover, login and logout iSCSI targets.

To get a list of available targets the following command can be used:

#iscsiadm -m discovery -t st -p <Group IP address>:3260

NOTE The group IP address is the IP address of the EqualLogic storage group. 


# iscsiadm -m discovery -t st -p,1

The example shows that the 'rhel5-test' volume has been found.

Logging in iSCSI Targets:

Once you have discovered your iSCSI targets, you can log in the following target in one of two ways.

Issuing the following command will login all iSCSI targets found. The command to login all iSCSI targets at once is the following:

#iscsiadm -m node -l

If you prefer to login an individual iSCSI target the following command can be issued:

#iscsiadm -m node -T <Complete Target Name> -l -p <Group IP>:3260


#iscsiadm -m node -l -T -p

Logging out iSCSI Targets:

Logging out iSCSI targets also can be accomplished in one of two ways. The process of logging out all iSCSI targets found, can be done with the following command:

#iscsiadm -m node -u

The process of logging out individual iSCSI target uses the following command:

#iscsiadm -m node -u -T <Complete Target Name>-p <Group IP address>:3260


#iscsiadm -m node -u -T -p