000-221 · Question #141
An LPAR is configured with strict logical volume mirroring across two disks for resilience. The administrator would like to ensure if one disk fails the volume group stays online. Which command will…
The correct answer is D. chvg -Qn datavg. The chvg command with the -Qn flag persistently disables quorum checking on a volume group, ensuring it remains online even when one disk in a mirrored pair fails.
Question
An LPAR is configured with strict logical volume mirroring across two disks for resilience. The administrator would like to ensure if one disk fails the volume group stays online. Which command will ensure that the datavg volume group stays online?
Options
- Avaryonvg -n datavg
- Bmirrorvg-Q-c 2 datavg
- Cmklvcopy -e m -s y (each logical volume name) 2
- Dchvg -Qn datavg
How the community answered
(24 responses)- A8% (2)
- B4% (1)
- C17% (4)
- D71% (17)
Why each option
The chvg command with the -Qn flag persistently disables quorum checking on a volume group, ensuring it remains online even when one disk in a mirrored pair fails.
varyonvg -n applies a no-quorum override only at the moment the volume group is varied on and is not a persistent setting, so it does not protect against a runtime disk failure.
mirrorvg creates a mirror copy of the volume group but does not modify the quorum setting, and -Q is not a valid flag for the mirrorvg command in AIX.
mklvcopy with -e m -s y controls mirror write consistency and inter-disk allocation policies for individual logical volumes, not the volume group quorum behavior.
The command 'chvg -Qn datavg' sets the volume group quorum attribute to 'no' in the ODM, meaning AIX will keep the volume group active even if fewer than a majority of physical volumes are available. This is the correct persistent configuration for a two-disk mirrored setup where a single disk failure must not take the volume group offline. The setting survives reboots because it is stored in the system configuration database.
Concept tested: AIX volume group quorum configuration using chvg
Topics
Community Discussion
No community discussion yet for this question.