Question 720
A RHEL 10 storage operator handles /dev/mapper/vgfiles24-lvdata24 mounted at /mnt/files24 when applicable. The requirement is to display information about an ext4 filesystem. A review considers `resize2fs /dev/mapper/vgfiles24-lvdata24` as an alternative. Its relevant behavior is: resize2fs expands an ext4 filesystem to use the larger underlying block device. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
Explanation
Correct Answer
tune2fs -l prints ext-family filesystem settings and superblock data It matches the filesystem and the stated stage. This matches the stated requirement to display information about an ext4 filesystem. By contrast, the plausible alternative `xfs_growfs /mnt/files24` has the effect: xfs_growfs grows XFS online by naming the mounted filesystem; that operation would not achieve the requested result.
Incorrect Answers
xfs_growfs grows XFS online by naming the mounted filesystem. The stated task is to display information about an ext4 filesystem. Instead, `tune2fs -l /dev/mapper/vgfiles24-lvdata24` is the relevant alternative because tune2fs -l prints ext-family filesystem settings and superblock data It matches the filesystem and the stated stage.
resize2fs expands an ext4 filesystem to use the larger underlying block device. The stated task is to display information about an ext4 filesystem. Instead, `tune2fs -l /dev/mapper/vgfiles24-lvdata24` is the relevant alternative because tune2fs -l prints ext-family filesystem settings and superblock data It matches the filesystem and the stated stage.
e2fsck checks ext4 integrity before a supported offline reduction. The stated task is to display information about an ext4 filesystem. Instead, `tune2fs -l /dev/mapper/vgfiles24-lvdata24` is the relevant alternative because tune2fs -l prints ext-family filesystem settings and superblock data It matches the filesystem and the stated stage.






Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests