Codeexample52 cfgadm -al display, Sun proprietary/confidential: internal use only – Sun Microsystems 6900 User Manual

Page 66

Advertising
background image

46

Sun StorEdge 3900 and 6900 Series 2.0 Troubleshooting Guide • March 2003

Sun Proprietary/Confidential: Internal Use Only

An error in the A1 or B1 FC link can also cause a device to enter the “unusable” state
in

cfgadm -al

, as shown in

CODE EXAMPLE 5-2

.

CODE EXAMPLE 5-2

cfgadm -al

Display

FRU Tests Available for the A1 or B1 FC Link
Segment

The following FRU tests are available for the A1 or B1 FC link segment. All
diagnostics are located in

/opt/SUNWstade/Diags/bin

. Refer to the man pages

for more details.

HBA—

qlctest

(1M)

Available only if the Storage Automated Diagnostic Environment is installed
on a data host

Causes HBA to go offline and online during tests

Switch —

switchtest

(1M)

Can be run while the link is still cabled and online (connected to HBA)

Can be run only from the Storage Service Processor.

The

dev

option to

switchtest

is in the following format:

Port:IP-Address:FCAddress

The

FCAddress

can be set to 0x0.

Note –

If you are testing an A1 or B1 FC link that is connected to an HBA, you must

specify a payload of 200 bytes or less. This is a limitation in the HBA application-
specific integrated circuit (ASIC).

# /usr/sbin/cfgadm -al

Ap_Id

Type

Receptacle

Occupant

Condition

c0

scsi-bus

connected

configured

unknown

c0::dsk/c0t0d0

disk

connected

configured

unknown

c0::dsk/c0t1d0

disk

connected

configured

unknown

c1

scsi-bus

connected

configured

unknown

c1::dsk/c1t6d0

CD-ROM

connected

configured

unknown

c2

fc-fabric

connected

configured

unknown

c2::210100e08b23fa25

unknown

connected

unconfigured unknown

c2::2b000060220041f4

disk

connected

configured

unknown

c3

fc-fabric

connected

configured

unknown

c3::2b000060220041f9

disk

connected

configured

unusable

c4

fc-private

connected

unconfigured unknown

c5

fc

connected

unconfigured unknown

Advertising
This manual is related to the following products: