The following example will create a single mirror for the root and primary swap logical volumes.
The commands assume the following:
*The root volume group is vg00
*The root logical volume is lvol1
*The primary swap device is lvol2
*The root bootable system disk is Instance 0
*The mirror copy disk is Instance 1
The following commands will accomplish the task:
# pvcreate -B /dev/rdsk/c0t1d0
# mkboot -l /dev/rdsk/c0t1d0
# mkboot -a "hpux (;0) /stand/vmunix" /dev/rdsk/c0t1d0
# vgextend /dev/vg00 /dev/dsk/c0t1d0
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t1d0
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t1d0
# lvlnboot -r /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -R
# vgcfgbackup vg00
阅读(2434) | 评论(0) | 转发(0) |