000-221 · Question #98
An administrator wants to create a filesystem with a specific logical volume name, disk location, and disk placement. Which pair of commands will allow these attributes to be set during filesystem…
The correct answer is D. mklv followed by crfs. To create a filesystem with a custom LV name, specific disk location, and placement policy, you must first create the logical volume with mklv, then build the filesystem on it with crfs.
Question
An administrator wants to create a filesystem with a specific logical volume name, disk location, and disk placement. Which pair of commands will allow these attributes to be set during filesystem creation?
Options
- Acrfs followed by chvg
- Bcrlv followed by mkfs
- Cmkfs followed by chfs
- Dmklv followed by crfs
How the community answered
(24 responses)- A4% (1)
- B17% (4)
- C8% (2)
- D71% (17)
Why each option
To create a filesystem with a custom LV name, specific disk location, and placement policy, you must first create the logical volume with mklv, then build the filesystem on it with crfs.
crfs can create a filesystem but does not allow pre-configuration of LV name or disk placement, and chvg modifies volume group-level attributes, not logical volume placement or naming.
'crlv' is not a valid AIX command - the correct command for creating a logical volume is mklv, making this pair syntactically invalid.
mkfs creates a filesystem on a raw device but provides no mechanism to specify LV name or disk placement; chfs modifies existing filesystem mount-point attributes and cannot alter the underlying LV's disk location or placement policy.
The mklv command allows explicit specification of the logical volume name (-y flag), target physical volumes for disk location, and inter/intra-physical-volume placement policies before the filesystem exists. Once the LV is configured with those attributes, crfs creates a filesystem on that pre-defined LV, preserving all placement and naming decisions made at the LV layer. No other command pair allows all three attributes - name, disk location, and placement - to be set at creation time.
Concept tested: AIX mklv and crfs for custom LV and filesystem creation
Source: https://www.ibm.com/docs/en/aix/7.2?topic=m-mklv-command
Topics
Community Discussion
No community discussion yet for this question.