Troubleshooting

A database server's /data volume, an ext4 filesystem on /dev/sdc1, suddenly became read-only. Applications now fail with "Read-only file system" when writing, although the mount was originally read-write and file permissions are unchanged. Which three actions are appropriate to diagnose and resolve the problem? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. Review dmesg or journalctl -k for I/O or ext4 errors that triggered the read-only remountE. Check the health of the underlying disk with smartctl -a /dev/sdcF. Unmount the volume, or boot to rescue mode, and run fsck on the unmounted filesystem

The kernel remounts ext4 read-only after detecting errors, so the logs, disk health and an offline fsck identify and repair the cause. Remounting read-write without investigation risks further corruption, and permissions are not the issue.