nerdexam
IBM

000-221 · Question #30

While trying to extend a filesystem /work an administrator receives the following error: 0516-787 extendlv: Maximum allocation for logical volume fslv00 is 256. What must be done to allow the…

The correct answer is B. Change the maximum Logical Partitions to 512forthefslv00 with the command chlv-x512fslv00. The error indicates the logical volume fslv00 has reached its maximum logical partition allocation of 256. To extend the filesystem, the maximum LP limit on the logical volume itself must be increased using the 'chlv -x' command.

Storage Management

Question

While trying to extend a filesystem /work an administrator receives the following error: 0516-787 extendlv: Maximum allocation for logical volume fslv00 is 256. What must be done to allow the filesystem to be extended?

Options

  • AChange the filesystem option of maxsz to 512 for the filesystem /work with the command chfs -a
  • BChange the maximum Logical Partitions to 512forthefslv00 with the command chlv-x512fslv00.
  • CChange the volume groups maximum Logical Partitions per Logical Volume to 512 with the chvg -t
  • DChange the logical volume type to jfs2 as jfs logical volumes cannot extend passed 256 with the

How the community answered

(54 responses)
  • A
    7% (4)
  • B
    85% (46)
  • C
    2% (1)
  • D
    6% (3)

Why each option

The error indicates the logical volume fslv00 has reached its maximum logical partition allocation of 256. To extend the filesystem, the maximum LP limit on the logical volume itself must be increased using the 'chlv -x' command.

AChange the filesystem option of maxsz to 512 for the filesystem /work with the command chfs -a

The 'chfs -a maxsz' option sets a filesystem size cap but does not resolve an underlying logical volume partition limit error; the LV constraint must be addressed first.

BChange the maximum Logical Partitions to 512forthefslv00 with the command chlv-x512fslv00.Correct

The 'chlv -x' command on AIX changes the maximum number of logical partitions allowed for a specific logical volume. By running 'chlv -x 512 fslv00', the cap is raised from 256 to 512, allowing the logical volume and its filesystem to be extended beyond the previous limit.

CChange the volume groups maximum Logical Partitions per Logical Volume to 512 with the chvg -t

The 'chvg -t' command changes the volume group's maximum LPs per LV setting for future logical volumes, but it does not retroactively change the limit already set on an existing logical volume like fslv00.

DChange the logical volume type to jfs2 as jfs logical volumes cannot extend passed 256 with the

The error is a logical partition allocation limit, not a filesystem type restriction; jfs2 does not have a 256 LP ceiling that prevents extension, so changing the LV type would not resolve this error.

Concept tested: AIX logical volume maximum partition limit adjustment with chlv

Source: https://www.ibm.com/docs/en/aix/7.3?topic=c-chlv-command

Topics

#extendlv#logical volume#LVM#filesystem extension

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice