000-221 · Question #133
A volume group is mirrored to two external storage systems. One of the storage systems is rebooted for maintenance. After the storage system is up and available, Isvg shows a disk in a missing…
The correct answer is A. varyonvg. After a missing physical volume comes back online, running varyonvg on the volume group causes AIX to rediscover the PV and transition its state from missing to active.
Question
A volume group is mirrored to two external storage systems. One of the storage systems is rebooted for maintenance. After the storage system is up and available, Isvg shows a disk in a missing state:
What command will change the PV STATE from missing to active?
Options
- Avaryonvg
- Bchpv
- Ccfgmgr
- Dchdev
- Esyncvg
How the community answered
(28 responses)- A75% (21)
- B4% (1)
- D14% (4)
- E7% (2)
Why each option
After a missing physical volume comes back online, running varyonvg on the volume group causes AIX to rediscover the PV and transition its state from missing to active.
The varyonvg command re-activates a volume group and during that process scans for all defined physical volumes. When a previously missing disk is once again accessible, varyonvg updates the PV STATE to active and restores I/O paths, making it the correct command to bring the VG back to a fully operational mirrored state.
chpv modifies physical volume characteristics such as allocation permission but does not resolve a missing PV state caused by a storage outage.
cfgmgr reconfigures device drivers and detects new hardware but does not change the logical PV state within a volume group definition.
chdev changes device attributes at the ODM level but does not affect the PV STATE tracked by LVM.
syncvg synchronizes stale logical volume mirrors but requires the PV to already be active before it can operate.
Concept tested: AIX LVM recovery of missing physical volume with varyonvg
Source: https://www.ibm.com/docs/en/aix/7.3?topic=v-varyonvg-command
Topics
Community Discussion
No community discussion yet for this question.