How to correct missing disk issue in AIX ?
Today we will look at an interesting article how to correct missing disk issue in IBM AIX.
Suppose you got an alert that there is some disk not available on the server.
And when you have checked, you found out that the disk is showing missing is lsvg output.
Issue Details
root@ngeAIX# lspv hdisk0 00c91b208b0fd959 rootvg active hdisk1 00c91b208b0fd9fe rootvg active root@ngeAIX# lsdev -Cc disk hdisk0 Available 21-T1-01 3PAR InServ Virtual Volume hdisk1 Available 21-T1-01 3PAR InServ Virtual Volume root@ngeAIX# cfgmgr root@ngeAIX# lsvg -p rootvg rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 missing 199 12 00..00..00..00..12 hdisk1 active 199 12 00..00..00..00..12
Solution
root@ngeAIX# bootinfo -b hdisk0 ### varyonvg will correct the issue. root@ngeAIX# varyonvg rootvg root@ngeAIX# lsvg -p rootvg rootvg: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk0 active 199 12 00..00..00..00..12 hdisk1 active 199 12 00..00..00..00..12 root@ngeAIX#
vryonvg activates the volume group, and due to this, all physical partitions are synchronized if they are not current.
And the disk which got missed earlier due to some storage issue is now back in place.
However you should be cautious running this command, as it may remove the disk as well from the system.