nerdexam
IBM

000-221 · Question #113

Which command will show all the logical volumes, filesystem mount points, and the volume group in which they reside?

The correct answer is D. Isvg | Isvg -il. On IBM AIX, the lsvg command lists all volume groups, and piping its output to lsvg -il displays the logical volumes and mount points within each group.

Storage Management

Question

Which command will show all the logical volumes, filesystem mount points, and the volume group in which they reside?

Options

  • AIslv-al
  • Bmount-v
  • Cdf-vAg
  • DIsvg | Isvg -il

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    10% (3)
  • C
    7% (2)
  • D
    80% (24)

Why each option

On IBM AIX, the lsvg command lists all volume groups, and piping its output to lsvg -il displays the logical volumes and mount points within each group.

AIslv-al

lslv -al displays attributes of a single specified logical volume but does not enumerate all logical volumes across all volume groups with their mount points.

Bmount-v

mount -v shows currently mounted filesystems but provides no information about the volume group each logical volume belongs to.

Cdf-vAg

df -vAg reports filesystem disk usage statistics but does not display the logical volume to volume group relationship.

DIsvg | Isvg -ilCorrect

The command lsvg lists all volume groups on the system, and piping that output to lsvg -il causes each volume group name to be passed via stdin (-i flag) to lsvg, which then lists (-l flag) all logical volumes within each group including their mount points and parent volume group, satisfying all three requirements in the question.

Concept tested: AIX lsvg pipeline to list logical volumes and mount points

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

Topics

#lsvg#logical volumes#volume groups#filesystem listing

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice