Cisco Nexus 5000 Series NX-OS Software Configuration Guide
Discovering SCSI Targets
Downloads: This chapterpdf (PDF - 71.0KB) The complete bookPDF (PDF - 4.74MB) | Feedback

Discovering SCSI Targets

Table Of Contents

Discovering SCSI Targets

Information About SCSI LUN Discovery

About Starting SCSI LUN Discovery

Starting SCSI LUN Discovery

About Initiating Customized Discovery

Initiating Customized Discovery

Displaying SCSI LUN Information


Discovering SCSI Targets


This chapter describes the SCSI LUN discovery feature provided in switches in the Cisco Nexus 5000 Series. It includes the following sections:

Information About SCSI LUN Discovery

Displaying SCSI LUN Information

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 belong to the Cisco Nexus 5000 Series.

This section includes the following topics:

About Starting SCSI LUN Discovery

Starting SCSI LUN Discovery

About Initiating Customized Discovery

Initiating Customized Discovery

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:

Command
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).


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 discovers SCSI targets for VSAN 1 and FC ID 0x9c03d6:

switch# discover scsi-target vsan 1 fcid 0x9c03d6  
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 
  SCSI TYPE: 0 NLUNS: 1 
  Vendor: Company 4 Model: ST318203FC    Rev: 0004 
  Other: 00:00:02:32:8b:00:50:0a 

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:

Command
Purpose

switch# discover custom-list add vsan vsan-id domain domain-id

Adds the specified entry to the custom list.

switch# discover custom-list delete vsan vsan-id domain domain-id

Deletes the specified domain ID from the custom list.


Displaying SCSI LUN Information

Use the show scsi-target and show fcns database commands to display the results of the discovery.

The following example displays the discovered targets:

switch# show scsi-target status  
discovery completed 


Note This command takes several minutes to complete, especially if the fabric is large or if several devices are slow to respond.


The following example displays the FCNS database:

switch# show fcns database 

The following example displays the SCSI target disks:

switch# show scsi-target disk  

The following example displays the discovered LUNs on all operating systems:

switch# show scsi-target lun os all 

The following example displays the port WWN that is assigned to each operating system (Windows, AIX, Solaris, Linux, or HPUX):

switch# show scsi-target pwwn