Table of ContentsView in Frames

Discovering new LUNs for Red Hat 5, 6, 7 or SUSE 10, 11 and 12 while using Veritas and iSCSI

When you are running Red Hat Enterprise Linux 5, 6, or 7 series or SUSE Linux Enterprise Server 10, 11, or 12 series and the software iSCSI initiator, you can discover new LUNs by rescanning the iSCSI service on the host. Rescanning the service displays all the newly created LUNs that have been mapped to the host.

Before you begin

You must have a copy of the rescan script. The rescan script is available with the sg3_utils package. In addition, the rescan script is available with Red Hat Enterprise Linux 5 Update 4, Red Hat Linux 6 and 7 or later, SUSE Linux Enterprise Server 10 SP2 or later, and SUSE Linux Enterprise Server 11 and 12 or later. For earlier versions, you can use the vendor-specific rescan scripts, which are available on their web sites. See HBA vendor-specific documentation.

About this task

You cannot view new LUNs until after the operating system discovers them. After the LUNs have been discovered, they are automatically added to the VxDMP configuration.


  1. Discover new LUNs by entering the following commands.
    If you want to... Enter...
    Obtain the list of all the current sessions iscsiadm -m session
    Rescan a specific session iscsiadm -m session --sid=N --rescan

    N is the specific session ID.

    Rescan all the sessions iscsiadm -m session --rescan
    Rescan using the SCSI rescan script /usr/bin/
    Rescan Veritas devices vxdisk scandisks
  2. Verify that the new LUNs have been discovered by using the iscsiadm command for an iSCSI setup or thesanlun command for other protocol hosts.