Monday, June 25, 2012

How to rectify stale VG

Encountered a VG going stale recently. Take me a while to figure how to resolve it with some google since there are very few people in the team that knows about AIX and stuffs..

Here, ff rootvg becomes stale as a result of a temporary loss of one of the disk (i.e. mirror), the following command can be used to get the ODM to refresh itself and synchronise the disks.

# varyonvg -bu >vg_name>

You can use the following command to monitor the progress of the refresh. Once all the LVs are refreshed, there should be no more opened/stale LVs.

lsvg -l 

No comments: