Locating Disks on HP-UX 11i v2 Systems |
|
To help find and select the target disk on an HP-UX 11i v2 system,
you can find out what disks are on the system with the ioscan command:
# /usr/sbin/ioscan -fnkC disk
|
The ioscan command displays a list of system
disks with identifying information, location, and size. On a PA-RISC
system, the output looks similar to Example 2-1.
Example 2-1 The ioscan -fnkC disk Command Output on
an HP-UX 11i v2 PA-RISC System
# /usr/sbin/ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 10/0/14/0.0.0 sdisk CLAIMED DEVICE TEAC CD-532E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 10/0/15/1.5.0 sdisk CLAIMED DEVICE HP 18.2GMAN3184MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 10/0/15/1.6.0 sdisk CLAIMED DEVICE HP 18.2GMAN3184MC
/dev/dsk/c2t3d0 /dev/rdsk/c2t3d0 |
On an Integrity system, the output looks similar to Example
2-2.
Example 2-2 The ioscan -fnkC disk Command Output on
an HP-UX 11i v2 Integrity System
# /usr/sbin/ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336754LC
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s3
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s1
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GST336754LC
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s3
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s1 |
If you have recently added a disk to your system you may need
to run ioscan without the -k option
to display the new disk. See the ioscan(1M) manpage for more information
about ioscan options.
Locating Disks on HP-UX 11i v3 Integrity Systems |
|
To help find and select the target disk on an Integrity system
running HP-UX 11i v3 (11.31), you can find out what disks are on the
system with the ioscan command:
# /usr/sbin/ioscan -fNnkC disk
|
The ioscan command displays a list of system
disks with identifying information, location, and size. On an Integrity
system running HP-UX 11i v3, the output looks similar to Example
2-3.
Example 2-3 The ioscan -fNnkC disk Command Output on
an HP-UX 11i v3 Integrity System
# /usr/sbin/ioscan -fNnkC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 4 64000/0xfa00/0x0 esdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/disk/disk4 /dev/rdisk/disk4
/dev/disk/disk4_p1 /dev/rdisk/disk4_p1
/dev/disk/disk4_p2 /dev/rdisk/disk4_p2
/dev/disk/disk4_p3 /dev/rdisk/disk4_p3
disk 5 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/disk/disk5 /dev/rdisk/disk5
/dev/disk/disk5_p1 /dev/rdisk/disk5_p1
/dev/disk/disk5_p2 /dev/rdisk/disk5_p2
/dev/disk/disk5_p3 /dev/rdisk/disk5_p3
disk 6 64000/0xfa00/0x2 esdisk CLAIMED DEVICE HP 36.4GMAN3367MC
/dev/disk/disk6 /dev/rdisk/disk6
/dev/disk/disk6_p1 /dev/rdisk/disk6_p1
/dev/disk/disk6_p2 /dev/rdisk/disk6_p2
/dev/disk/disk6_p3 /dev/rdisk/disk6_p3
disk 7 64000/0xfa00/0x3 esdisk CLAIMED DEVICE TEAC DW-28E
/dev/disk/disk7 /dev/rdisk/disk7 |
Additionally, on HP-UX 11i v3 Integrity systems, you may find
it useful to use the following ioscan command to
identify persistent and legacy DSFs:
Example 2-4 The ioscan -m dsf Command Output on an HP-UX
11i v3 Integrity System
# /usr/sbin/ioscan -m dsf
Persistent DSF Legacy DSF(s)
==========================================
/dev/rdisk/disk4 /dev/rdsk/c2t0d0
/dev/rdisk/disk4_p1 /dev/rdsk/c2t0d0s1
/dev/rdisk/disk4_p2 /dev/rdsk/c2t0d0s2
/dev/rdisk/disk4_p3 /dev/rdsk/c2t0d0s3
/dev/rdisk/disk5 /dev/rdsk/c2t1d0
/dev/rdisk/disk5_p1 /dev/rdsk/c2t1d0s1
/dev/rdisk/disk5_p2 /dev/rdsk/c2t1d0s2
/dev/rdisk/disk5_p3 /dev/rdsk/c2t1d0s3
/dev/rdisk/disk6 /dev/rdsk/c3t2d0
/dev/rdisk/disk6_p1 /dev/rdsk/c3t2d0s1
/dev/rdisk/disk6_p2 /dev/rdsk/c3t2d0s2
/dev/rdisk/disk6_p3 /dev/rdsk/c3t2d0s3
/dev/rdisk/disk7 /dev/rdsk/c0t0d0 |
For additional information about LVM volume group configurations
from legacy to the agile naming model, see the LVM Migration
from Legacy to Agile Naming Model HP-UX 11i v3 white paper,
located at http://docs.hp.com/en/LVMmigration1/LVM_Migration_to_Agile.pdf.