2.3 Choosing a target disk
CAUTION: It is the system administrator's responsibility to identify a target disk that is not currently in use! Cloning a disk removes all current data on the target disk.
In Example
The target disk must:
•Be a block device special file.
•Be writeable by the system.
•Not currently be in use by other applications.
•Be large enough to hold a copy of each logical volume in the root group.
The target's physical disk need not be as large as the disk allocated for the root group, as long as there is enough space for a copy of each logical volume in the root group. However, the disk needs to be larger than the used space in each logical volume because each logical volume will be created with the number of physical extents currently allocated to the corresponding root group logical volume.
Example
2.4 Using other utilities to determine disk availability
You can determine which disks are in use with the lvm(7M) (Logical Volume Manager) and VxVM (Veritas Volume Manager) commands. For example, to see which disks are in use by lvm, enter this command:
# /usr/sbin/vgdisplay
and look in the output for PV Name, which describes physical volumes.
This information is under the Physical Volumes heading. It looks similar to this:
PV | Name | /dev/dsk/c2t3d0 |
PV | Status | available |
Total PE | 4340 | |
Free PE | 428 | |
Autoswitch | On |
You can use the vxdisk
The swapinfo command can be used to display information about disks currently used for swap.
The HP System Management Homepage, hpsmh(1M), or System Administration Manager, sam(1M), can be used to investigate the disks on the system and their current usage.
2.5 Using DRD for limited disk availability checks
You can use drd clone with the
The drd clone command performs the following checks:
12 Cloning the active system image