Appendix F: Moving a Root Disk to a New Disk or Another
Disk
Follow these steps to move root disk /dev/dsk/c1t1d1 (source disk) to disk /dev/dsk/c2t2d2
(destination disk) staying within the same volume group:
1. To make the destination disk a bootable LVM disk, enter:
# pvcreate -f -B /dev/rdsk/c2t2d2
2. To make the disk bootable. Enter:
# mkboot /dev/rdsk/c2t2d2
# mkboot -a "hpux -a (;0)/stand/vmunix" /dev/rdsk/c2t2d2
3. To extend your root volume group with the destination disk, enter:
# vgextend /dev/vg00 /dev/dsk/c2t2d2
4. To move all physical extents from the source disk to the destination disk, enter:
# pvmove /dev/dsk/c1t1d1 /dev/dsk/c2t2d2
5. To reduce the source disk from the volume group, enter:
# vgreduce /dev/vg00 /dev/dsk/c1t1d1
6. To shut down and reboot from the new root disk in maintenance mode, enter:
ISL> hpux -lm (;0)/stand/vmunix
7. To update the BDRA and the LABEL file, enter:
# vgchange -a y /dev/vg00
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -Rv
# vgchange -a n /dev/vg00
8. Reboot the system.
Comentários a estes Manuais