Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Dynamic Root Disk Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 2 Cloning the Active System Image

Locating Disks

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The target of a drd clone operation must be a single disk or SAN LUN that is write-accessible to the system and not currently in use. Depending on your HP-UX operating system, refer to one of the following sections:

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
IMPORTANT:

The above output includes block device special files ending with s1, s2, or s3. These endings indicate an idisk partition on the disk. Do NOT use a partition as a clone target!

The first disk in the above list is a DVD drive, indicated by the DV in the description field. Do NOT use a DVD as a clone target!

Some device files are identified as /dev/rdsk/. . . following the block device special file designation. This identifies them as raw files. Do NOT use a raw file as a clone target!

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
IMPORTANT:

The above output includes block device special files ending with _p1, _p2, or _p3. These endings indicate an idisk partition on the disk. Do NOT use a partition as a clone target!

The last disk in the above list is a DVD drive, indicated by the DW in the description field. Do NOT use a DVD as a clone target!

Some device files are identified as /dev/rdisk following the block device special file designation. This identifies them as raw files. Do NOT use a raw file as a clone target!

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.