Question 700
A RHEL 10 storage operator handles /dev/mapper/vgfiles04-lvdata04 mounted at /mnt/files04 when applicable. The requirement is to check an unmounted ext4 filesystem before an offline shrink. A review considers `xfs_info /mnt/files04` as an alternative. Its relevant behavior is: xfs_info shows XFS geometry; XFS has no supported shrink operation. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
Explanation
Correct Answer
e2fsck checks ext4 integrity before a supported offline reduction It matches the filesystem and the stated stage. This matches the stated requirement to check an unmounted ext4 filesystem before an offline shrink. By contrast, the plausible alternative `xfs_growfs /mnt/files04` has the effect: xfs_growfs grows XFS online by naming the mounted filesystem; that operation would not achieve the requested result.
Incorrect Answers
xfs_info shows XFS geometry; XFS has no supported shrink operation. The stated task is to check an unmounted ext4 filesystem before an offline shrink. Instead, `e2fsck -f /dev/mapper/vgfiles04-lvdata04` is the relevant alternative because e2fsck checks ext4 integrity before a supported offline reduction It matches the filesystem and the stated stage.
tune2fs -l prints ext-family filesystem settings and superblock data. The stated task is to check an unmounted ext4 filesystem before an offline shrink. Instead, `e2fsck -f /dev/mapper/vgfiles04-lvdata04` is the relevant alternative because e2fsck checks ext4 integrity before a supported offline reduction It matches the filesystem and the stated stage.
xfs_growfs grows XFS online by naming the mounted filesystem. The stated task is to check an unmounted ext4 filesystem before an offline shrink. Instead, `e2fsck -f /dev/mapper/vgfiles04-lvdata04` is the relevant alternative because e2fsck checks ext4 integrity before a supported offline reduction It matches the filesystem and the stated stage.






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