e2fsck is a file system consistency checker for the ext2, ext3, and ext4 file systems commonly used in Linux-based operating systems. It examines the integrity of your VPS's file system, repairs any errors it discovers, and helps prevent data corruption or loss.
Regularly running e2fsck is a best practice to maintain the health of your server. Over time, file system inconsistencies can occur due to various factors such as power outages, hardware failures, or other unexpected events. e2fsck ensures that your file system remains in optimal condition and minimizes the risk of data corruption.
These instructions only apply to unmanaged Linux VPS and VDS servers. If you are running a managed server this will be handled by the SiteHost team. Details about Server Management can be found here
If you undertake thie e2fsck and encounter any issues during the process, please do not hesitate to reach out to our support team for assistance. We are here to help you with any questions or concerns you may have.
Please follow these steps to run e2fsck on your unmanaged VPS:
We strongly advise you to take a backup of your important data before running e2fsck, as there is a possibility of data loss in the event of significant file system corruption.
SNAPSHOTS
tab.Take Snapshot
RESCUE MODE
tab.Enter Rescue Mode
button. We have more information about Rescue Mode here.lsblk
and note the xvda
name of your main storage. This will usally be xvda3
and the largest device showing. xvda1
and xvda2
are usually the rescue mode devices. We will assume for these instructions it is /dev/xvda3
blkid /dev/xvda3
. Ensure that TYPE
is ext3
or ext4
. If it is not please contact us for further guidance.e2fsck -y /dev/xvda3
.RESCUE MODE
tab for the server in question.Leave Rescue Mode
button.If you are not comfortable performing this maintenance task yourself then this may be a good opportunity to discuss Server Management for your VPS. Details about Server Management can be found here