000-221 · Question #106
A mirrored rootvg internal disk, hdisk1, has failed and must be replaced. The remaining mirrored disk, hdisk0, is intact and functioning normally. What is the correct sequence of actions?
The correct answer is A. unmirrorvg rootvg hdisk1. When replacing a failed disk in a mirrored rootvg, the correct first step is unmirrorvg to remove the failed disk from the mirror set before attempting device removal or physical replacement.
Question
A mirrored rootvg internal disk, hdisk1, has failed and must be replaced. The remaining mirrored disk, hdisk0, is intact and functioning normally. What is the correct sequence of actions?
Options
- Aunmirrorvg rootvg hdisk1
- Brmdev-l hdisk1 -d
- Cunmirrorvg rootvg hdisk1
- Dunmirroivg rootvg hdisk1
How the community answered
(29 responses)- A86% (25)
- B3% (1)
- C7% (2)
- D3% (1)
Why each option
When replacing a failed disk in a mirrored rootvg, the correct first step is unmirrorvg to remove the failed disk from the mirror set before attempting device removal or physical replacement.
Running unmirrorvg rootvg hdisk1 cleanly removes the logical volume mirror copies from the failed disk and updates the volume group descriptor, ensuring rootvg remains consistent on the surviving hdisk0. This must precede physical removal so AIX does not attempt to sync data to a disk that no longer functions.
rmdev -l hdisk1 -d removes the device definition from the ODM but must follow unmirrorvg, not precede it - removing the device first leaves the volume group in an inconsistent mirrored state.
While the command text appears identical to A, this choice does not represent the accepted correct starting action in the prescribed replacement sequence.
unmirroivg is a misspelled, non-existent AIX command and would fail immediately with a command-not-found error.
Concept tested: AIX rootvg mirrored disk replacement procedure sequence
Source: https://www.ibm.com/docs/en/aix/7.3?topic=volumes-removing-disk-mirrored-volume-group
Topics
Community Discussion
No community discussion yet for this question.