Dynamic Root Disk and MirrorDisk/UX

# /usr/sbin/vgdisplay –v drd00 | /usr/bin/grep “PV Name”
3. Tell DRD that the mirror disk is to be removed by running drd_unregister_mirror:
# /opt/drd/bin/drd_unregister_mirror mirror_disk
Where mirror_disk is the mirror to be split off from the inactive image.
The drd_unregister_mirror command will find that the mirror is associated with the inactive
image and remove its record of the disk.
The un-registration is needed because a system administrator may want to use drd mount to
browse the original disk. The mount of the original system image requires information about the
exact list of disks on which it resides.
WARNING:
The system administrator will have the choice of “breaking off” either
disk in the mirrored pair. However, DRD is only aware of a single
boot disk. This disk should
not
be removed! Doing so will prevent
drd activate from working correctly. To prevent removal of DRD’s
boot disk, the drd_unregister_mirror command will fail if the
boot disk is used as an argument. If this occurs, un-register—and
subsequently remove—the other disk of the mirrored pair.
4. Prepare the inactive image to boot without its mirror.
The LVM infrastructure on the inactive system image itself will not be affected by the mirroring
commands on the booted system. It will not be aware that half of its mirror pair has been broken
off. However, in the event of a problem, it is desirable to be able to boot the inactive image. To
facilitate this, the AUTO file on the inactive image should include the -lq option, which overrides
the need for a quorum of the volume group to boot.
On a PA system, to change the AUTO file on the inactive system image (which is still mounted
from Step 1 above) execute the following commands:
# /usr/bin/lifrm inactive_image_disk:AUTO
# /usr/bin/echo “hpux –lq” > /tmp/auto
# /usr/bin/lifcp /tmp/auto inactive_image_disk:AUTO
Where inactive_image_disk is the block device special file of the (remaining) disk on the
inactive system image (that is, the disk for drd00).
On an Integrity system, to change the AUTO file on the inactive system image (which is still
mounted from Step 1 above) execute the following commands:
# /usr/bin/echo “boot vmunix –lq” > /tmp/auto
# /usr/sbin/efi_cp –d efi_part /tmp/auto /EFI/HPUX/AUTO
Where efi_part is the block device special file of the EFI partition on the (remaining) disk on
the inactive system image. The EFI partition is the first partition, and its device file is formed by