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 3 Cloning the Active System Image

Locating System Disks

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

To clone the active system image, you need a separate disk in the system to be the target of the clone operation. To help find and select the target disk, you can find out what disks are on the system with the ioscan command:

 # /usr/sbin/ioscan -fnkC disk
NOTE: For HP-UX 11i v3 (11.31) systems, the ioscan options -fNnkC are preferable.

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.

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 3-1.

NOTE: The following ioscan output is from an HP-UX 11i v2 (11.23) system. Persistent, block device special files on HP-UX 11i v3, which have the form /dev/disk/diskN, can be displayed by using the -N option on the ioscan command.

Example 3-1 The ioscan -fnkC disk command output on an HP-UX 11i v2 PA-RISC system

# /usr/sbin/ioscan -fnkC diskClass 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 3–2.

Example 3-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 (_p1, _p2, or _p3 for 11i v3 systems). These endings indicate an idisk partition on the disk. Do NOT use a partition as a cloning target!

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

Finally, some device files are identified as /dev/rdsk/. . . (/dev/rdisk for 11i v3 systems) following the block device special file designation. This identifies them as raw files. Do NOT use a raw file as a cloning target!

You can use the vxdisk -o alldgs list command to display information about all disks managed by VxVM. Do not specify any disk in use by VxVM as a clone target.

The swapinfo command can display information about disks currently used for swap.

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