How do I list built-in fibre channel devices on some sun systems? *
-
On some SUN systems there is a build in fibre channel loop, this normally controls the internal fibre channel disks. The act as JBODS, which stands for "just a bunch of disks". To interigate the devices on this fibre channel loop the command luxadm is used, this was also used on some older storage arrays like the A5000 series.
To search for fibre channel device connected to the built-in fibre channel loop:
# luxadm probe Found Enclosure: SUNWGS INT FCBPL Name:FCloop Node WWN:5080020000220888 Logical Path:/dev/es/ses0
To display the devices on this node, World Wide Node Name, do:
# luxadm display -v 5080020000220888 SUNWGS INT FCBPL DISK STATUS SLOT DISKS (Node WWN) 0 On (O.K.) 20000014c3179b4c 1 On (O.K.) 20000014c3179b12 2 On (O.K.) 20000014c317aae5 3 On (O.K.) 20000014c3179b2c 4 On (O.K.) 20000014c3179b49 5 On (O.K.) 20000014c3179b3e 6 On (Login failed) 7 On (Login failed) 8 On (Login failed) 9 On (Login failed) 10 On (Login failed) 11 On (Login failed) SUBSYSTEM STATUS FW Revision:922A Box ID:0 Node WWN:5080020000220888 Enclosure Name:FCloop SSC100's - 0=Base Bkpln, 1=Base LoopB, 2=Exp Bkpln, 3=Exp LoopB SSC100 #0: O.K.(922A/ 8D3C) SSC100 #1: O.K.(922A/ 8D3C) SSC100 #2: Not Installed SSC100 #3: Not Installed Temperature Sensors - 0 Base, 1 Expansion 0:17ºC 1Not Installed Backplanes - A=Base, B=Expansion A: O.K. B: Not Installed Default Language is USA English, ASCII
To display information on one of the disks, do the following:
# luxadm display -v 20000014c3179b4c DEVICE PROPERTIES for disk: 20000014c3179b4c Status(Port A): O.K. Vendor: SEAGATE Product ID: ST314670FSUN146G WWN(Node): 20000014c3179b4c WWN(Port A): 21000014c3179b4c Revision: 055A Serial Num: 34424TQZ Unformatted capacity: 140009.438 MBytes Read Cache: Enabled Minimum prefetch: 0x0 Maximum prefetch: 0xffff Location: In slot 0 in the enclosure named: FCloop Device Type: Disk device Path(s): /dev/rdsk/c1t0d0s2 /devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3179b4c,0:c,raw Mode Sense data: AWRE: 1 ARRE: 1 Read Retry Count: 12 Write Retry Count: 5 Medium rotation rate: 10025 RPM
To display the environment information of a enclosure:
# luxadm env_display c1 ENCLOSURE STATUS CARD on ISP Abnormal Condition: NO Immediate Attention: NO Alarm Status : OK Alarm Enabled: YES Alarm Setting : 1603 Id Sense Bit: OFF Spin Delay: YES Fan Module : OK Over Temperature : NO
To display specific information about a fibre disk using luxadm:
# luxadm inq /dev/rdsk/c1t2d0s2 INQUIRY: Physical Path: /devices/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w210000186214e8fb,0:c,raw Vendor: SEAGATE Product: ST314670FSUN146G Revision: 055A Serial Number xxxxxxxx Device type: 0x0 (Disk device) Removable media: no Medium Changer Element: no ISO version: 0 ECMA version: 0 ANSI version: 3 (Device complies to SCSI-3) Terminate task: no Response data format: 2 Additional length: 0x8b Cmd received on port: b Command queueing: no VENDOR-SPECIFIC PARAMETERS Byte# Hex Value ASCII 52 00 00 00 00 .... 96 00 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 .Copyright (c) 2 30 30 35 20 53 65 61 67 61 74 65 20 41 6c 6c 20 005 Seagate All 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
© Lightnetics 2024