Information About SCSI LUN Discovery
Small Computer System Interface (SCSI) targets include disks, tapes, and other storage devices. These targets do not register logical unit numbers (LUNs) with the name server.
The name server requires LUN information for the following reasons:
-
To display LUN storage device information so that a Network Management System (NMS) can access this information.
-
To report device capacity, serial number, and device ID information.
-
To register the initiator and target features with the name server.
The SCSI LUN discovery feature uses the local domain controller Fibre Channel address. It uses the local domain controller as the source FC ID, and performs SCSI INQUIRY, REPORT LUNS, and READ CAPACITY commands on SCSI devices.
The SCSI LUN discovery feature is initiated on demand, through CLI or SNMP. This information is also synchronized with neighboring switches, if those switches are Cisco Nexus devices.
About Starting SCSI LUN Discovery
SCSI LUN discovery is done on demand.
Only Nx ports that are present in the name server database and that are registered as FC4 Type = SCSI_FCP are discovered.
Starting SCSI LUN Discovery
To start SCSI LUN discovery, perform this task:
Procedure
Command or Action | Purpose |
---|---|
switch# discover scsi-target {custom-list | local | remote | vsan vsan-id fcid fc-id} os {aix | hpux | linux | solaris | windows} [lun | target] |
Discovers SCSI targets for the specified operating system (OS). |
Examples of Starting SCSI LUN Discovery
The following example discovers local SCSI targets for all operating systems (OSs):
switch# discover scsi-target local os all
discovery started
The following example discovers remote SCSI targets assigned to the AIX OS:
switch# discover scsi-target remote os aix
discovery started
The following example shows how to discover SCSI targets for the specified VSAN (1) and FCID (0x9c03d6):
switch# discover scsi-target vsan 1 fcid 0x9c03d6 os aix
discover scsi-target vsan 1 fcid 0x9c03d6
VSAN: 1 FCID: 0x9c03d6 PWWN: 00:00:00:00:00:00:00:00
PRLI RSP: 0x01 SPARM: 0x0012...
The following example discovers SCSI targets from the customized list assigned to the Linux OS:
switch# discover scsi-target custom-list os linux
discovery started
About Initiating Customized Discovery
Customized discovery consists of a list of VSAN and domain pairs that are selectively configured to initiate a discovery. Use the custom-list option to initiate this discovery. The domain ID is a number from 0 to 255 in decimal or a number from 0x0 to 0xFF in hex.
Initiating Customized Discovery
To initiate a customized discovery, perform this task:
Procedure
Command or Action | Purpose | |
---|---|---|
Step 1 |
switch# discover custom-list add vsan vsan-id domain domain-id |
Adds the specified entry to the custom list. |
Step 2 |
switch# discover custom-list delete vsan vsan-id domain domain-id |
Deletes the specified domain ID from the custom list. |