Mirroring Critical Information, Especially The Root Volume Group - HP -UX 11i Administrator's Manual

Logical volume management
Hide thumbs Also See for HP-UX 11i:
Table of Contents

Advertisement

The LVM OLR feature uses a new option ( a) in the pvchange command. The a option disables
or re-enables a specified path to an LVM disk, as used to halt LVM access to the disk under
6: Replacing a Bad Disk (Persistent DSFs)" (page 129)
DSFs)" (page

Mirroring Critical Information, Especially the Root Volume Group

By making mirror copies of the root, boot, and primary swap logical volumes on another disk, you
can use the copies to keep your system in operation if any of these logical volumes fail.
For details on mirroring the boot disk (which contains the root, boot, and primary swap logical
volumes), see
There are three corollaries to the mirroring recommendation:
1.
Use the strict allocation policy for all mirrored logical volumes. Strict allocation forces mirrors
to occupy different disks. Without strict allocation, you can have multiple mirror copies on the
same disk; if that disk fails, you will lose all your copies. To control the allocation policy, use
the s option with the lvcreate and lvchange commands. By default, strict allocation is
enabled.
2.
To improve the availability of your system, keep mirror copies of logical volumes on separate
I/O busses if possible. With multiple mirror copies on the same bus, the bus controller becomes
a single point of failure—if the controller fails. If you create physical volume groups and set
the allocation policy to PVG-strict, LVM helps you avoid inadvertently creating multiple mirror
copies on a single bus. For more information about physical volume groups, see lvmpvg(4).
3.
Consider using one or more free disks within each volume group as spares. If you configure
a disk as a spare, then a disk failure causes LVM to reconfigure the volume group so that the
spare disk takes place of the failed one. That is, all the logical volumes that were mirrored on
the failed disk are automatically mirrored and resynchronized on the spare, while the logical
volume remains available to users. You can then schedule the replacement of the failed disk
at a time of minimal inconvenience to you and your users. Sparing is particularly useful for
maintaining data redundancy when your disks are not hot-swappable, since the replacement
process may have to wait until your next scheduled maintenance interval. For information
about disk sparing, see
NOTE:
138). For more information, see the pvchange(1M) manpage.
"Mirroring the Boot Disk" (page
"Increasing Disk Redundancy Through Disk Sparing" (page 27)
Version 2.x volume groups do not support disk sparing.
or
"Step 7: Replacing a Bad Disk (Legacy
90).
Disk Troubleshooting and Recovery Procedures
"Step
1 17

Advertisement

Table of Contents
loading

Table of Contents