commande : luxadm
par
popularité : 2%
La commande luxadm permet de connaitre et de gérer les ressources FC (pour faire vite).
Cette commande est bien utile pour connaître les WWN des cartes ou des ressources connectés.
Connaître les cartes FC sur un serveur solaris
#luxadm -e port
Found path to 3 HBA ports
/devices/pci@8,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
/devices/pci@9,600000/SUNW,qlc@1/fp@0,0:devctl NOT CONNECTED
/devices/pci@9,600000/SUNW,qlc@1,1/fp@0,0:devctl NOT CONNECTED
Connaître les ressources derrière une carte FC
#luxadm -e dump_map /devices/pci@8,600000/SUNW,qlc@2/fp@0,0:devctl
Pos AL_PA ID Hard_Addr Port WWN Node WWN Type
0 d4 b d4 21000000877f5370 20000000877f5370 0x0 (Disk device)
1 d3 c d3 210000008784a1ed 200000008784a1ed 0x0 (Disk device)
2 d2 d d2 21000004cf27fcea 20000004cf27fcea 0x0 (Disk device)
3 1 7d 0 21000003ba08d950 20000003ba08d950 0x1f (Unknown Type,Host Bus Adapter)
4 ef 0 ef 21000004cf27f4a4 20000004cf27f4a4 0x0 (Disk device)
5 e8 1 e8 21000004cf27e9af 20000004cf27e9af 0x0 (Disk device)
6 e4 2 e4 21000004cf277af2 20000004cf277af2 0x0 (Disk device)
7 dc 6 dc 5080020000184ea9 5080020000184ea8 0xd (SES device)
8 e2 3 e2 21000004cf27ecd1 20000004cf27ecd1 0x0 (Disk device)
9 e1 4 e1 2100000087801c5e 2000000087801c5e 0x0 (Disk device)
10 e0 5 e0 21000014c319b65c 20000014c319b65c 0x0 (Disk device)
11 d9 8 d9 21000004cf27f965 20000004cf27f965 0x0 (Disk device)
12 d6 9 d6 21000004cf27d0d4 20000004cf27d0d4 0x0 (Disk device)
13 d5 a d5 21000004cf27fd4e 20000004cf27fd4e 0x0 (Disk device)
#luxadm probe
Found Enclosure :
SUNWGS INT FCBPL Name:FCloop Node WWN:5080020000184ea8 Logical Path :/dev/es/ses0
#luxadm display /dev/es/ses0
SUNWGS INT FCBPL
DISK STATUS
SLOT DISKS (Node WWN)
0 On (O.K.) 20000004cf27f4a4
1 On (O.K.) 20000004cf27e9af
2 On (O.K.) 20000004cf277af2
3 On (O.K.) 20000004cf27ecd1
4 On (O.K.) 2000000087801c5e
5 On (O.K.) 20000014c319b65c
6 On (O.K.) 20000004cf27f965
7 On (O.K.) 20000004cf27d0d4
8 On (O.K.) 20000004cf27fd4e
9 On (O.K.) 20000000877f5370
10 On (O.K.) 200000008784a1ed
11 On (O.K.) 20000004cf27fcea
SUBSYSTEM STATUS
FW Revision:9228 Box ID:0
Node WWN:5080020000184ea8 Enclosure Name:FCloop
SSC100’s - 0=Base Bkpln, 1=Base LoopB, 2=Exp Bkpln, 3=Exp LoopB
SSC100 #0 : O.K.(9228/ 15F1)
SSC100 #1 : O.K.(9228/ 15F1)
SSC100 #2 : O.K.(9228/ 15F1)
SSC100 #3 : O.K.(9228/ 15F1)
Temperature Sensors - 0 Base, 1 Expansion
0:24ºC 1:23ºC (All temperatures are NORMAL.)
Default Language is USA English, ASCII