Question 170
A Linux administrator faces this situation: An engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it. Which action best resolves the specific issue while preserving correct system behavior?
Explanation
Correct Answer
Use tune2fs -l on the ext filesystem to display its current metadata and settings. This corrects the case-specific failure. First verify: Inspect the target ext filesystem device and ensure the requested tool supports that format. Then demonstrate success: The output provides the expected feature and check settings without changing data.
Incorrect Answers
Remove or consolidate approved excessive small files or enlarge the filesystem inode capacity using supported methods. That would matter when a mail spool cannot create new files even though df -h shows available free space. The relevant distinction in this case is: Use tune2fs -l on the ext filesystem to display its current metadata and settings.
Unmount the filesystem and use e2fsck or fsck with appropriate approved options. That would matter when a damaged ext4 filesystem on a non-root data partition needs an integrity check before remounting. It does not address this case's requirement: An engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it.
Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks. That would matter when a data filesystem uses XFS and an operator proposes e2fsck because the mount failed. That separate mechanism does not verify the needed Linux administration outcome in this case.