Mirroring The Boot Disk; Mirroring The Boot Disk On Hp 9000 Servers - HP -UX 11i Administrator's Manual

Logical volume management
Hide thumbs Also See for HP-UX 11i:
Table of Contents
Boot: bootlv
Root: rootlv
Swap: swaplv
Dump: swaplv
15. Once the boot and root logical volumes are created, create file systems for them. For example:
# mkfs
# mkfs
NOTE:
command:
# mkfs

Mirroring the Boot Disk

NOTE:
Mirroring requires the optional product, HP MirrorDisk/UX.
Version 2.0 and 2.1 volume groups do not support boot disks, so you cannot mirror the boot disk
in a Version 2.0 or 2.1 volume group.
After you create mirror copies of the root, boot, and primary swap logical volumes, if any of the
underlying physical volumes fail, the system can use the mirror copy on the other disk and continue.
When the failed disk comes back online, it is automatically recovered, provided the system has
not been rebooted.
If the system reboots before the disk is back online, reactivate the volume group to update the LVM
data structures that track the disks within the volume group. You can use vgchange -a y even
though the volume group is already active.
For example, you can reactivate volume group vg00 by entering the following command:
# vgchange -a y /dev/vg00
As a result, LVM scans and activates all available disks in the volume group vg00, including the
disk that came online after the system rebooted.
The procedure for creating a mirror of the boot disk is different for HP 9000 and HP Integrity
servers. HP Integrity servers use partitioned boot disks.
NOTE:
These examples include creating a mirror copy of the primary swap logical volume. The
primary swap mirror does not need to be on a specific disk or at a specific location, but it must
be allocated on contiguous disk space. The recommended mirror policy for primary swap is to
have the mirror write cache and the mirror consistency recovery mechanisms disabled.
When primary swap is mirrored and your primary swap device also serves as a dump area, be
sure that mirror write cache and mirror consistency recovery are set to off at boot time to avoid
losing your dump. To reset these options, reboot your system in maintenance mode and use the
lvchange command with the -M n and -c n options.

Mirroring the Boot Disk on HP 9000 Servers

To set up a mirrored root configuration, you must add a disk to the root volume group, mirror all
the root logical volumes onto it, and make it bootable. For this example, the disk to be added is
at path 0/1/1/0.0x1.0x0 and has device special files named /dev/rdisk/disk4 and /dev/
disk/disk4. Follow these steps:
1.
Make sure the device files are in place. For example:
# insf -e -H 0/1/1/0.0x1.0x0
The following device files now exist for this disk:
/dev/[r]disk/disk4
90
Administering LVM
/dev/disk/disk6 -- Boot Disk
on:
/dev/disk/disk6
on:
/dev/disk/disk6
on:
/dev/disk/disk6
on:
/dev/disk/disk6, 0
F hfs /dev/vgroot/rbootlv
F vxfs /dev/vgroot/rrootlv
On HP Integrity servers, the boot file system can be VxFS. Enter the following
F vxfs /dev/vgroot/rbootlv
Table of Contents
loading

Table of Contents