Commande : luxadm
par
popularité : 2%
Visualisé les module kernel
#modinfo |egrep -i "SunFC|mpxio|scsi_vhci|qlc"
20 126fc88 14f88 189 1 scsi_vhci (SCSI VHCI Driver 1.52)
49 136e460 18fa8 153 1 fp (SunFC Port v20080701-1.77)
50 1386cb8 19330 272 1 fcp (SunFC FCP v20080701-1.130)
51 139f250 8cb8 - 1 fctl (SunFC Transport v20080701-1.58)
53 7be00000 363b58 154 1 emlxs (SunFC emlxs FCA v20080616-2.31h)
54 7bece000 10a988 279 1 qlc (SunFC Qlogic FCA v20080617-2.29)
216 7b630520 83b8 271 1 fcip (SunFC FCIP v20080701-1.49)
#luxadm qlgc
Found Path to 2 FC100/P, ISP2200, ISP23xx Devices
Opening Device : /devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1/fp@0,0:devctl
Detected FCode Version : QLA2462 Host Adapter Driver(SPARC) : 1.24 11/15/06
Opening Device : /devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1,1/fp@0,0:devctl
Detected FCode Version : QLA2462 Host Adapter Driver(SPARC) : 1.24 11/15/06 #luxadm probe
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s) :
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002A15440000296A49121BC9d0s2
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002A15440000113046AADD35d0s2
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002A154400002969491219D7d0s2
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002AAD46000029A049121D6Ed0s2
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002AAD46000029A149121E0Cd0s2
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002AAD460000297E4892E4CEd0s2
Node WWN:200600a0b829cf5c Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B800029CF5C0000272E46F71A50d0s2
Node WWN:200600a0b829cf5c Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B800029CF5C00001966469EFCE6d0s2
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430303133d0s2
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430313033d0s2
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430313034d0s2
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430313035d0s2
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430313037d0s2
Node WWN:50060e80102c71e1 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430303132d0s2
Node WWN:500104f000962c9f Device Type:Tape device
Logical Path :/dev/rmt/1n
Node WWN:500104f000962ca2 Device Type:Tape device
Logical Path :/dev/rmt/2n
Node WWN:500104f000962ca5 Device Type:Tape device
Logical Path :/dev/rmt/3n
Node WWN:500104f000962ca8 Device Type:Tape device
Logical Path :/dev/rmt/4n
Node WWN:500104f000962cab Device Type:Tape device
Logical Path :/dev/rmt/5n
#luxadm -e port
/devices/pci@7c0/pci@0/pci@8/SUNW,emlxs@0/fp@0,0:devctl CONNECTED
/devices/pci@7c0/pci@0/pci@9/SUNW,emlxs@0/fp@0,0:devctl CONNECTED
/devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1/fp@0,0:devctl CONNECTED
/devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1,1/fp@0,0:devctl CONNECTED
#luxadm -e dump_map /devices/pci@7c0/pci@0/pci@8/SUNW,emlxs@0/fp@0,0
Pos Port_ID Hard_Addr Port WWN Node WWN Type
0 10100 0 202600a0b829cf5c 200600a0b829cf5c 0x0 (Disk device)
1 10300 0 202600a0b82a1518 200600a0b82a1518 0x0 (Disk device)
2 20100 0 50060e80102c71e2 50060e80102c71e2 0x0 (Disk device)
3 20200 0 50060e80102c7191 50060e80102c7191 0x0 (Disk device)
4 20300 0 50060e80102c7193 50060e80102c7193 0x0 (Disk device)
5 10a00 0 10000000c961ab21 20000000c961ab21 0x1f (Unknown Type,Host Bus Adapter)
#luxadm probe -p
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s) :
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002A15440000296A49121BC9d0s2
Physical Path :
/devices/scsi_vhci/ssd@g600a0b80002a15440000296a49121bc9:c,raw
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002A15440000113046AADD35d0s2
Physical Path :
/devices/scsi_vhci/ssd@g600a0b80002a15440000113046aadd35:c,raw
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002A154400002969491219D7d0s2
Physical Path :
/devices/scsi_vhci/ssd@g600a0b80002a154400002969491219d7:c,raw
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002AAD46000029A049121D6Ed0s2
Physical Path :
/devices/scsi_vhci/ssd@g600a0b80002aad46000029a049121d6e:c,raw
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002AAD46000029A149121E0Cd0s2
Physical Path :
/devices/scsi_vhci/ssd@g600a0b80002aad46000029a149121e0c:c,raw
Node WWN:200600a0b82a1518 Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B80002AAD460000297E4892E4CEd0s2
Physical Path :
/devices/scsi_vhci/ssd@g600a0b80002aad460000297e4892e4ce:c,raw
Node WWN:200600a0b829cf5c Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B800029CF5C0000272E46F71A50d0s2
Physical Path :
/devices/scsi_vhci/ssd@g600a0b800029cf5c0000272e46f71a50:c,raw
Node WWN:200600a0b829cf5c Device Type:Disk device
Logical Path :/dev/rdsk/c5t600A0B800029CF5C00001966469EFCE6d0s2
Physical Path :
/devices/scsi_vhci/ssd@g600a0b800029cf5c00001966469efce6:c,raw
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430303133d0s2
Physical Path :
/devices/scsi_vhci/ssd@g4849544143484920373530353039373430303133:c,raw
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430313033d0s2
Physical Path :
/devices/scsi_vhci/ssd@g4849544143484920373530353039373430313033:c,raw
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430313034d0s2
Physical Path :
/devices/scsi_vhci/ssd@g4849544143484920373530353039373430313034:c,raw
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430313035d0s2
Physical Path :
/devices/scsi_vhci/ssd@g4849544143484920373530353039373430313035:c,raw
Node WWN:50060e80102c71e2 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430313037d0s2
Physical Path :
/devices/scsi_vhci/ssd@g4849544143484920373530353039373430313037:c,raw
Node WWN:50060e80102c71e1 Device Type:Disk device
Logical Path :/dev/rdsk/c5t4849544143484920373530353039373430303132d0s2
Physical Path :
/devices/scsi_vhci/ssd@g4849544143484920373530353039373430303132:c,raw
Node WWN:500104f000962c9f Device Type:Tape device
Logical Path :/dev/rmt/1n
Physical Path :
/devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1/fp@0,0/st@w500104f000962ca0,0:n
Node WWN:500104f000962ca2 Device Type:Tape device
Logical Path :/dev/rmt/2n
Physical Path :
/devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1/fp@0,0/st@w500104f000962ca3,0:n
Node WWN:500104f000962ca5 Device Type:Tape device
Logical Path :/dev/rmt/3n
Physical Path :
/devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1,1/fp@0,0/st@w500104f000962ca6,0:n
Node WWN:500104f000962ca8 Device Type:Tape device
Logical Path :/dev/rmt/4n
Physical Path :
/devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1,1/fp@0,0/st@w500104f000962ca9,0:n
Node WWN:500104f000962cab Device Type:Tape device
Logical Path :/dev/rmt/5n
Physical Path :
/devices/pci@7c0/pci@0/pci@1/pci@0,2/SUNW,qlc@1,1/fp@0,0/st@w500104f000962cac,0:n
luxadm probe (discovers fcal)
luxadm display Enclosure (displays information on fcal box)
luxadm reserve /dev/rdsk/c#t#d#s# (reserves device so it can’t be accessed)
luxadm -e offline /dev/rdsk/c#t#d#s# (takes a device offline)
luxadm -e bus_quiesce /dev/rdsk/c#t#d#s# (quiesce the bus)
luxadm -e bus_unquiesce /dev/rdsk/c#t#d#s# (unquiesce the bus)
luxadm -e online /dev/rdsk/c#t#d#s# (bring the disk device back online)
luxadm release /dev/rdsk/c#t#d#s# (unreserved the device for use)
luxadm remove_device BAD,f2 (removes a device from slot f2 on enclosure BAD)
luxadm insert_device BAD,f2 (hot plug a new device to slot f2 on enclosure BAD)