A system administrator has noticed that applications are having trouble accessing configuration files stored on a mounted filesystem. Upon inspection, the system logs indicate read errors on the filesystem in question. The administrator suspects filesystem corruption. Which command should be executed to check and repair the filesystem while it’s unmounted, preventing further damage or potential data loss?
mkfs -t ext4 /dev/sda2
e2fsck /dev/sda2
fdisk /dev/sda2
fsck /dev/sda2