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
#
|
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.