Question 140
A systems engineer has checked: Inspect the new LV size and the filesystem type before choosing a growth utility. The reported failure is: An ext4 filesystem is on a logical volume that has been extended but df still shows the old size. Which corrective step should follow?
Explanation
Correct Answer
The change that addresses the reported condition is to grow ext4 using its appropriate resize tool after the block layer is enlarged. The host problem is: An ext4 filesystem is on a logical volume that has been extended but df still shows the old size. The supporting evidence is to inspect the new LV size and the filesystem type before choosing a growth utility. Check success by verifying that df reports the increased capacity and existing files remain intact. The fix should be persistent where the task requires it.
Incorrect Answers
Use a migration/recreation plan if downsizing XFS is actually required. The check concerns a migration/recreation plan if downsizing XFS is actually required, not confirming that grow ext4 using its appropriate resize tool after the block layer is enlarged.
Extend the LV and grow the mounted XFS filesystem using the supported online growth command. This assesses extend the LV and grow the mounted XFS filesystem using the supported online growth command; it does not determine the reported condition—inspect the new LV size and the filesystem type before choosing a growth utility.
Create the required PV, extend the existing VG, then grow the LV and filesystem. The case-specific requirement is confirming that grow ext4 using its appropriate resize tool after the block layer is enlarged, which that option does not establish.