000-221 · Question #220
Consider the following screen capture. The administrator needs to add 512 MB of space to the /db2/db2sp1 filesystem. What must be done before the administrator will be able to add this disk space to…
The correct answer is D. Increase the number of logical partitions the logical volume can hold. Before extending an AIX filesystem, the underlying logical volume must be able to accommodate additional logical partitions. If the LV has reached its MAXLPS limit, that ceiling must be raised first.
Question
Consider the following screen capture. The administrator needs to add 512 MB of space to the /db2/db2sp1 filesystem. What must be done before the administrator will be able to add this disk space to the filesystem?
Exhibit
Options
- AExtend the upper bound of the logical volume.
- BIncrease the logical volume size first by 512 MB.
- CAdd another disk to the exevg volume group and migrate partitions.
- DIncrease the number of logical partitions the logical volume can hold
How the community answered
(30 responses)- A10% (3)
- B3% (1)
- C3% (1)
- D83% (25)
Why each option
Before extending an AIX filesystem, the underlying logical volume must be able to accommodate additional logical partitions. If the LV has reached its MAXLPS limit, that ceiling must be raised first.
There is no 'upper bound' parameter to extend in AIX LVM - logical volumes grow by allocating additional logical partitions, making this option technically inapplicable.
Increasing the logical volume size by 512 MB is the end goal, not a prerequisite - it cannot be performed until the maximum LP count is sufficient to allow the growth.
Adding a disk to the volume group addresses a shortage of free physical partitions, but the scenario implies sufficient VG space exists and the constraint is the LV's own partition ceiling.
In AIX LVM, each logical volume has a maximum number of logical partitions (MAXLPS) set at creation time. If the LV is already at its MAXLPS limit, the chlv command must be used to increase that maximum before the filesystem can be extended. Without this step, any attempt to grow the LV or filesystem will fail because no additional logical partitions can be allocated.
Concept tested: AIX LVM logical volume maximum partition limit
Source: https://www.ibm.com/docs/en/aix/7.3?topic=volumes-extending-logical-volume
Topics
Community Discussion
No community discussion yet for this question.
