Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Managing Disks
Chapter 6 579
Whether you use a single “combined” root-boot logical volume, or
separate root and boot logical volumes, the logical volume used to boot
the system must be the first logical volume on its physical volume. If the
root logical volume is not the first logical volume on its physical volume,
then you must also configure a boot logical volume. Both a root logical
volume and a boot logical volume must be contiguous with bad block
relocation disabled.
If you newly install your 11.00 system and choose the LVM configuration,
a root volume group is automatically configured, as are separate root and
boot logical volumes. If you currently have a combined root and boot
logical volume and you wish to reconfigure to separate root and boot
logical volumes, after creating the boot logical volume, you will need to
use the lvlnboot (1M) command with the -b option to define the boot
logical volume to the system, taking effect the next time the system is
booted. For example:
lvlnboot -b /dev/vgroot/bootlv
If you decide you want to create a root volume group “from scratch” that
will contain an alternate boot disk, you can follow the steps below. You
can also use these steps, with some minor changes, if you need to modify
an existing root logical volume, including increasing its size, or perhaps
changing your configuration to a combined root-boot logical volume.
When modifying an existing root logical volume, be sure to back up your
current root logical volume before proceeding and then copy it back to the
new file system upon completion.
Step 1. Create a physical volume using pvcreate with the -B option. -B creates
an area on the disk for a LIF volume, boot utilities, and a BDRA (Boot
Data Reserved Area).
NOTE The BDRA must exist on each bootable disk within the root volume
group. The BDRA maintains the information that the kernel requires
about the logical volume that contains the root, as well as those that
contain primary swap and dump.
See lif (4) for more information on LIF volumes.
For example:
pvcreate -B /dev/rdsk/c0t3d0