Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Managing File Systems
Chapter 6 637
Step 9. Display the BDRA. Verify that the mirrored disk is displayed as a boot
disk and that the boot, root, and swap logical volumes appear to be on
both disks:
lvlnboot –v
Step 10. Specify the mirror disk as the alternate boot path in nonvolatile memory:
setboot -a
path_to_disk
Step 11. Add a line to /stand/bootconf for the new boot disk using vi or another
text editor:
vi /stand/bootconf
l /dev/dsk/c3t1d0s2
where l denotes LVM.
Mirroring Tasks that Must be Done Using HP-UX Commands
Certain mirroring tasks cannot be performed by SAM. For the tasks
described below, you will have to use the appropriate HP-UX commands.
• “Moving a Mirrored Logical Volume to Another Disk” on page 637
• “Synchronizing a Mirrored Logical Volume” on page 638
• “Replacing a Mirrored Disk” on page 638
• “Maintaining High Availability in the Event of Disk Failure” on
page 640
• “Reinstating a Spare Disk” on page 642
Moving a Mirrored Logical Volume to Another Disk Suppose you
have a mirrored logical volume (/dev/vg01/lvol4). The mirror copy is
on a disk that you want to remove from the system (/dev/dsk/c7t0d0).
There is room on another disk (/dev/dsk/c5t0d0) in the same volume
group for the mirror copy.
You can move a logical volume’s mirror copy from one disk to another by
using the pvmove command (see pvmove (1M)).
To move the copy, you issue the following command:
pvmove -n /dev/vg01/lvol4 /dev/dsk/c7t0d0 /dev/dsk/c5t0d0