Ignite-UX and MirrorDisk/UX
answer all of the idisk queries. You may choose not to include this part of the command and
answer the question when performing this task interactively. Remove the partition file created
previously as follows:
# echo yes | idisk -wf /tmp/partitionfile /dev/rdsk/<second disk>
# rm /tmp/partitionfile
4.
After creating the partitions on the disk you will need to create the device files associated with
the partitions:
# insf –e –H <hardware path to second disk>
5.
Create the disk as a bootable LVM disk. The use of s2 at the end of the disk device is needed
since LVM uses the HP-UX partition so you must use this section of the disk as well. If you were to
use just the disk device, it would overwrite the partition information that has been created on the
disk. If this disk has been previously used by LVM in this way you may need to add the -f option
to force the initialization of this disk.
# pvcreate -B /dev/rdsk/<second disk>s2
6.
Now, run mkboot to complete the setup of the disk as a boot disk.
# mkboot -e -l /dev/dsk/<second disk>
The -e option sets the use of an EFI layout and the -l option sets this volume to be used by a
volume manager (even if it is not currently used by one).
Note:
If no partition number is given to mkboot, the command examines the
whole disk.
7. Initialize the HPSP partition with an EFI file system. This does not place any data into the
partition; it simply initializes HPSP partition with an EFI file system. Proceed to the next step if you
are not creating a HPSP partition or execute the following command.
# efi_fsinit -d /dev/rdsk/<second disk>s3
8.
Extend the HP-UX partition into the root volume group. The HP-UX partition (section 2) is
extended into the volume group not the whole disk.
# vgextend /dev/vg00 /dev/dsk/<second disk>s2
9.
Extend the mirrors to the alternate boot disk. There may be varying numbers of logical volumes
to extend and the names may be different to those indicated in the following commands so you
should modify these commands as needed.
Note:
The root, primary swap/dump, and the boot file systems should be
mirrored before any other file system is mirrored.
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/<second disk>s2
6