Search This Blog

Thursday, July 10, 2014

Disk Replacement - HP 9000 (PA-RISC) - Required reboot


Disk Replacement - HP 9000 (PA-RISC) - Required reboot
1.  Shutdown the system.

# shutdown –hy 0

2.  Replace the damaged disk.

Is the damage disk one of the boot disk mirrors? No, jump to step 6.

3.  Boot up the system again.

4.  Interrupt the PDC boot sequence.

[Escape]

5.  Boot from the good mirror disk, with quorum disabled.

SEA IPL

Choose the boot disk:
P#
Interact with IPL? yes
ISL> hpux –lq

6.  Rescan the hardware and create the new device special files:

# ioscan –C disk
# insf –C disk

7.  Restore the LVM reserved areas (PVRA/VGRA):

# vgcfgrestore –n vgXX /dev/rdsk/cXtXdX

Is the damage disk one of the boot disk mirrors? No, jump to step 10.
8.  Repopulate the LIF area:

# mkboot /dev/rdsk/cXtXdX

9.  Change the AUTO file contents choosing the best police for the boot path:
A)  Primary boot disk.

# mkboot –a “hpux” /dev/rdsk/cXtXdX

B)  Alternate boot disk.

# mkboot –a “hpux –lq” /dev/rdsk/cXtXdX

10. 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

11. 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