
Appendix J: Moving an Existing Root Disk to a New
Hardware Path
Before you shut down the system, note the /etc/lvmtab contents, and note which disks are in
vg00. Shut down the system and connect the existing root drive to the new path. Boot up the system
and escape boot sequence, and then boot off the root drive at the new hardware path to ISL.
1. To boot into LVM maintenance mode, enter:
ISL> hpux -lm (;0)/stand/vmunix
2. To find the new hardware path of the root disk, enter:
# ioscan -fnC disk
3. To install the special file for the root disk at the new hardware path, enter:
# insf -e -H <hardware_path>
4. To find the special device file for the root disk, enter:
# ioscan -fnC disk (example of device file name: /dev/dsk/c2t6d0)
5. Note the minor number of the group file in /dev/vg00.
6. To export the root file system vg00 to a mapfile, enter:
# vgexport -v -m /tmp/vg00_map /dev/vg00
7. To create the volume group and the group file to be used for the vgimport command, enter:
# mkdir /dev/vg00
# mknod /dev/vg00/group c 64 0x000000
8. To import the root disk and any other disks that might be in the vg00 volume group, enter:
# vgimport -v -m /tmp/vg00_map /dev/vg00 /dev/dsk/cXtXd0
<and any other disk in vg00>
9. To activate the volume group, enter:
# vgchange -a y /dev/vg00
10. To update the LIF's Label file with the information contained in the BDRA, enter:
# lvlnboot -Rv
11. To reboot the system, enter:
# shutdown -r 0
Note: Do not forget to update the Stable Storage new boot path from the ISL prompt!
Comentarios a estos manuales