fsck
(filesystem check) is a standard Linux utility used to check for and repair inconsistencies in a filesystem. It is often necessary to run fsck
after an unsafe shutdown (e.g., a hard reboot from the PowerPanel) or if you suspect disk errors or data corruption.
CRITICAL: Never run fsck
on a mounted filesystem. Doing so can cause severe data corruption and catastrophic data loss. This procedure must be performed from the Rescue System, where your server's drives are unmounted by default.
First, you must boot your server into the Linux Rescue Mode. This provides a safe, unmounted environment to work on your disks.