IBM
000-221 · Question #73
000-221 Question #73: Real Exam Question with Answer & Explanation
The correct answer is A. varyoffvg db2vg exportvg db2vg importvg -y db2logsvg01 hdisk1. Renaming an AIX volume group is accomplished with the least downtime by varying it off, exporting it to remove the ODM definition, then reimporting it under the new name.
Question
A new naming guideline requires the existing volume group, db2vg on hdisk1, be renamed to db2logsvg01. Which command sequence will accomplish this with the least downtime?
Options
- Avaryoffvg db2vg exportvg db2vg importvg -y db2logsvg01 hdisk1
- Bodmupdate -q VGNAME db2vg db2logsvg01 sync db2vg db2logsvg01 varyonvg db2logsvg01 hdisk1
- Cvaryoffvg db2vg chvg -a name db2vg db2logsvg01 varyonvg db2vg hdisk1
- Dsavevg db2vg rmvg db2vg mkvg -y db2logsvg0l hdisk1 restvg hdisk1
Explanation
Renaming an AIX volume group is accomplished with the least downtime by varying it off, exporting it to remove the ODM definition, then reimporting it under the new name.
Common mistakes.
- B. odmupdate is not a valid AIX command for renaming volume groups, and this sequence does not represent a supported administrative procedure.
- C. The chvg command does not support a name-change option in the syntax shown, so this sequence would fail to rename the volume group.
- D. Using savevg, rmvg, mkvg, and restvg destroys and recreates the volume group, which causes significantly more downtime and risks data loss compared to the export/import method.
Concept tested. AIX volume group rename using exportvg and importvg
Reference. https://www.ibm.com/docs/en/aix/7.1?topic=i-importvg-command
Community Discussion
No community discussion yet for this question.