000-221 · Question #67
How can an administrator use the logical volume information returned by the lslv -m command?
The correct answer is C. To determine which physical partitions are allocated to the logical volume. The lslv -m command outputs a physical partition map that shows exactly which physical partitions on which physical volumes are currently allocated to the logical volume.
Question
How can an administrator use the logical volume information returned by the lslv -m command?
Options
- ATo determine the amount of available (unused) space in the logical volume
- BTo determine which physical partitions are free for use by the logical volume
- CTo determine which physical partitions are allocated to the logical volume
- DTo determine the current state of the logical volume
How the community answered
(51 responses)- A6% (3)
- B2% (1)
- C78% (40)
- D14% (7)
Why each option
The lslv -m command outputs a physical partition map that shows exactly which physical partitions on which physical volumes are currently allocated to the logical volume.
Available unused space within a logical volume is not reported by lslv -m; commands such as df or lsvg are used to determine free or unallocated space.
lslv -m shows only allocated physical partitions; free physical partitions available for new allocations are identified using lspv.
The -m flag instructs lslv to produce a partition map listing each logical partition number alongside the physical volume name and physical partition number it occupies, giving the administrator a precise view of which physical partitions are allocated to the logical volume across all member disks.
The current state of a logical volume such as open, closed, or stale is reported by lslv without the -m flag, not by the partition map output.
Concept tested: AIX lslv -m physical partition allocation mapping
Source: https://www.ibm.com/docs/en/aix/7.3?topic=l-lslv-command
Topics
Community Discussion
No community discussion yet for this question.