HP Tru64 UNIX Technical Updates for the Version 5.1B and Higher Operating System and Patches (February 2010)
# mkfdmn -o -r /dev/disk/dsk100a alt_root1_domain
# mkfset alt_root1_domain root
# mount alt_root1_domain#root /clone/cluster/members/member1/boot_partition
# vdump -0f - /cluster/members/member1/boot_partition |vrestore -xf - -D \
/clone/cluster/members/member1/boot_partition
# /usr/sbin/cluster/clu_partmgr -v dsk1 > /tmp/clu_bdmgr.conf.alt-m1
Modify the clu_bd_mgr.conf.alt-m1 file to reflect the new cluster_root disk (/dev/
disk/dsk102a). No other fields should be changed. For example:
# vi /tmp/clu_bdmgr.conf.alt-m1
NOTE: You should disregard the line in the script that tells you not to edit a file. The
following list shows the file as it appears and what you should change it to:
• Original
DO NOT EDIT THIS FILE
::TYP:m:CFS:/dev/disk/dsk2a:LSM:0::
• Make this revision
DO NOT EDIT THIS FILE
::TYP:m:CFS:/dev/disk/dsk102a:LSM:0::
Enter the clu_partmgr command as follows:
# /usr/sbin/cluster/clu_partmgr -m /tmp/clu_bdmgr.conf.alt-m1 dsk100 # Member1
4. Clone the member2 boot disk.
# disklabel -r dsk1 > /tmp/dsk1.lbl
# disklabel -rw -t advfs dsk101
# disklabel -R dsk101 /tmp/dsk1.lbl
You must use the t option to install boot blocks on the member boot disk.
If the disks are different sizes use the disklabel -e command to modify the partition
table size and offset for the root1 boot partition and swap partition. Modify the h partition
to use the last 2048 blocks of the disk and set fstype field to cnx. The a partition must be
equal too or larger than the original root1 boot disk.
WARNING! Do not change the labell field in the header. It should remain “clu_member1.”
or the CNX partition will not be created with the type of m member boot disk using the
clu_partmgr command later in this procedure.
# disklabel -e dsk101 <-- Change the fstype field for
partitions a, g, and h to “unused”.
Otherwise, mkfdmn may fail with
“Memory fault(coredump)”
# mkfdmn -o -r /dev/disk/dsk101a alt_root2_domain
# mkfset alt_root2_domain root
# mount alt_root2_domain#root /clone/cluster/members/member2/boot_partition
# vdump -0f - /cluster/members/member2/boot_partition |vrestore -xf - -D \
/clone/cluster/members/member2/boot_partition
Modify the clu_bd_mgr.conf.alt-m1 file to reflect the new cluster_root disk (/dev/
disk/dsk102a). No other fields should be changed:
Patch Kit Updates 11