Question 320
At Harbor Municipal IT, an SSD-backed ext4 volume has sustained write amplification because deleted filesystem blocks are never returned to the storage device. The team is preparing a reversible change and needs a test that distinguishes the suspected fault from unrelated symptoms. Which Linux administration principle best explains the correct approach to this situation?
Explanation
Correct Answer
This principle explains why the proper response is: Evaluate supported discard behavior and schedule fstrim for the mounted filesystem where hardware and policy permit. Verify the prediction by observing: A controlled trim operation reports eligible reclaimed extents and workload behavior remains correct.
Incorrect Answers
An NVMe SSD reports long write delays and the engineer wants device health and controller data without assuming an ATA disk. Here, SSD maintenance should use filesystem-aware discard only on supported devices.
A Linux server can reach an iSCSI target but the LUN does not appear after reboot. Here, SSD maintenance should use filesystem-aware discard only on supported devices.
A storage administrator replaces a failed RAID1 member but the array never rebuilds because the new partition was not added. Here, SSD maintenance should use filesystem-aware discard only on supported devices.