Description
The alt_rootvg_op command can be used to determine which disk is the boot disk for a specific volume group. Use the -q flag to determine the boot disk. This can be useful when a volume group is comprised of multiple disks and a change in the bootlist is necessary.
This command can also be used to rename the alternate disk volume groups. This is especially useful when creating multiple alternate disks, on multiple volume groups, and name identification is necessary.
If data access is necessary between the current rootvg and an alternate disk, use the alt_rootvg_op command to perform a volume group “wake-up” (using the -W flag) on the nonbooted volume group. The “wake-up” puts the volume group in a post phase 1 state (that is, the /alt_inst file systems will be mounted). The customize operation (-C flag) can be executed at this time.
The running system’s operating system must be a version greater than or equal to the operating system version of the volume group that undergoes the “wake-up.” This might mean that it is necessary to boot from the altinst_rootvg and “wake up” the old_rootvg.
The alt_rootvg_op command does not allow a “wake-up” to occur on a volume group with a greater operating system version, unless the FORCE environment variable is set to Yes.
Syntax
To determine Volume Group Boot Disk (-q):
To rename Alternate Disk Volume Group (-v):
alt_rootvg_op -v new volume group name -d disk [-D]
To wake up Volume Group (-W):
alt_rootvg_op -W -d disk [-D]
To put to sleep Volume Group (-S):
To clean up Alternate Disk Volume Group (-X):
alt_rootvg_op -X [volume group] [-D]
To customize Alternate Disk Volume Group (-C):
alt_rootvg_op -C [-R resolv_conf] [-s script] [-b bundle_name] [-I installp_flags] [-l images_location] [-f fix_bundle] [-F fixes] [-w filesets] [-DV]
Reference:
http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds1%2Falt_rootvg_op.htm
Leave a Reply