Disk Replacement - HP 9000 (PA-RISC) - Online Hot Plug
1.
Detach the physical volume from
volume group:
#
pvchange -a n /dev/dsk/cXtXdX
|
2.
Hot swap the disk.
3.
Restore the LVM reserved areas
(PVRA/VGRA):
# ioscan
# insf –eH
<Hardware Path>
#
vgcfgrestore –n vgXX /dev/rdsk/cXtXdX
|
Is a
bootable disk? No, jump to step 6.
4. Repopulate
the LIF area:
# mkboot
/dev/rdsk/cXtXdX
|
5.
Change the AUTO file contents to the
proper mode:
A)
Primary boot disk.
#
mkboot –a “hpux” /dev/rdsk/cXtXdX
|
B)
Alternate boot disk.
#
mkboot –a “hpux –lq” /dev/rdsk/cXtXdX
|
6.
Reattach the new disk:
#
pvchange -a y /dev/dsk/cXtXdX
|
7.
Reactivate the volume group to attach
the physical volume.
#
vgchange –a y vgXX
|
Note: In case that the volume group don’t start to synchronize the
logical volumes automatically, you can force synchronization with:
#
vgsync vgXX
|
8.
Use lvlnboot to ensure that the LVM
logical volumes are prepared to be root, primary swap or dump volume.
#
lvlnboot -R
#
lvlnboot -v
|
No comments:
Post a Comment