Removing altinst_rootvg.
This tutorial details the steps of removing altinst_rootvg , then Extending rootvg and Mirror the rootvg. We get an altinst_rootvg volume group on reverting AIX server after and upgrade or migration.Procedure to removing altinst_rootvg, then Extending rootvg and finally Mirror the rootvg.
Step 1: List the PV with command lspv as below and as you can see the altinst_rootvg on hdisk6
Step 2: removing altinst_rootvg using alt_disk_install command as below
Step 3 : After removing altinst_rootvg list again the PVs again now the hdisk6 become none
Step 4: Extending rootvg to include hdisk6 using extendvg command as below and list PVs to verify . Now we can see hdisk6 is assigned to rootvg
Step 5 : Now Mirror and Synchronized the rootvg VG using mirrorvg command
a) Before Mirroring LPs and PPs number is same means it is not mirrored yet
b) Mirroring using “mirrorvg –S rootvg .
From the man page of mirrorvg
-S Background Sync Returns the mirrorvg command immediately and starts a background syncvg of the volume group. With this option, it is not obvious when the mirrors have completely finished their synchronization. owever, as portions of the mirrors become synchronized, they are immediately used by the operating system in mirror usage.
c) After Mirroring: It might take several minutes to sync LVs as you can see in the below lots of LVs are still in stale state
d) After Full Sync The Out Put will be like below
* Article Source from : Internet