000-221 · Question #31
An administrator has been asked to consolidate disks on an LPAR. Given the following information, which group of actions will remove unneeded disk?
The correct answer is B. Remove hdi sk3 from datavg. To remove an unneeded disk from a volume group in AIX, the disk must have no allocated physical partitions before it can be removed with reducevg. If hdisk3 already has zero allocated PPs, it can be removed directly.
Question
An administrator has been asked to consolidate disks on an LPAR. Given the following information, which group of actions will remove unneeded disk?
Options
- AMigrate physical partitions from hdisk2 to hdisk3
- BRemove hdi sk3 from datavg
- CExport datavg
- DVary off datavg
How the community answered
(54 responses)- A13% (7)
- B78% (42)
- C6% (3)
- D4% (2)
Why each option
To remove an unneeded disk from a volume group in AIX, the disk must have no allocated physical partitions before it can be removed with reducevg. If hdisk3 already has zero allocated PPs, it can be removed directly.
Migrating PPs from hdisk2 to hdisk3 moves data onto hdisk3, which would increase its utilization and prevent its removal rather than consolidating toward removing it.
In AIX, a disk can only be removed from a volume group when it holds no allocated physical partitions. The reducevg command (or smitty equivalent) removes hdisk3 from datavg once all PPs have been migrated off or were never allocated to it, which is the direct action needed to free the unneeded disk. This is the precise operation that achieves consolidation without disrupting data on remaining disks.
Exporting datavg removes the entire volume group from the system, which would make all filesystems and data in datavg inaccessible, far exceeding the goal of removing a single unneeded disk.
Varying off datavg deactivates the volume group and makes its logical volumes unavailable, but does not remove or consolidate any disks.
Concept tested: AIX volume group disk removal with reducevg
Source: https://www.ibm.com/docs/en/aix/7.3?topic=r-reducevg-command
Topics
Community Discussion
No community discussion yet for this question.