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.
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.
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.
|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-scsi-bus.sh|
|Rescan Veritas devices||vxdisk scandisks|