Thursday, 29 August 2013

How to fix corrupted boot logical volume(BLV) in AIX


Problem:
If a boot logical volume is corrupted (for example, bad blocks on a disk might cause a corrupted BLV), a machine will not boot after shutdown.

Solution:
(a)IF hd5 exists
Boot your machine in maintenance mode, from a CD or tape or NIM.
Access your rootvg & start shell before mounting filesystem.Run bosboot on your rootvg hdisk (bosboot -ad /dev/hdisk0).
#sync;sync;sync
Reboot the server (shutdown -Fr).

(b)IF hd5 doesnt exist
Boot your machine in maintenance mode, from a CD or tape or NIM.
Access your rootvg & start shell before mounting filesystem.
Create a new hd5 logical volume in rootvg (mklv -y hd5 -t boot -a e rootvg 1).
Run the bosboot command (bosboot -ad /dev/hdisk0).
#sync;sync;sync
Reboot the server (shutdown -Fr).

No comments:

Post a Comment