Technical data

Online Add and Replacement (OLAR) of PCI Cards
Determining PCI Card Slot Locations
HP System Partitions Guide: Administration for nPartitions, rev 5.1
381
Determining a Network Interface’s PCI Card Slot
This procedure determines which PCI card slot is used by a network
interface.
Step 1. At the HP-UX command line, enter the /usr/sbin/lanscan command to
list the local nPartition’s LAN devices and status.
Step 2. Enter the rad -N
path
command, and specify the hardware path (
path
)
for the network interface whose card slot information you want.
The rad command displays the hardware slot for the network interface’s
card, in cabinet-bay-chassis-slot format.
Example 8-2 Example of Determining a Network Interface’s PCI Card Slot
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/1/0 0x0010832754E0 0 UP lan0 snap0 1 ETHER Yes 119
# rad -N 0/0/0/1/0
0-1-3-0
#
The above output indicates that the card is installed in cabinet 0, bay 1,
chassis 3, slot 0 (0-1-3-0).
Determining a Filesystem’s PCI Card Slot
This procedure determines which PCI card slot is used by a filesystem.
Step 1. At the HP-UX command line, enter the bdf -l command to list the local
filesystems for the local nPartition.
Step 2. For the filesystem of interest, enter the following command:
/usr/sbin/lvdisplay -v -k
lvolume
| grep dev
Where
lvolume
is the device path of the filesystem’s logical volume, as
was displayed in the bdf command output.
Step 3. Enter the /usr/sbin/lssf
pvolume
command, and specify the physical
volume path (
pvolume
) as was reported by the lvdisplay command.
For example: lssf /dev/dsk/c0t5d0, for a filesystem whose physical
volume is c0t5d0.