Help

Checking File System Integrity

Your own actions or server malfunctions can damage the file system on the disks. That is why we recommend checking the disk if something unexpected happens.

Disks are usually named vd* or xvd*. The examples below use vda1 and vdb1. Replace them with the actual disk and partition names in your system.

  1. Boot the system from a rescue disk.
  2. To view the partitions available in the system, run the following command:

    lsblk -lp | grep part

    The command output will look similar to this:

    /dev/vda1  252:1    0     5G  0 part
    /dev/vdb1  252:17   0     5G  0 part
  3. To check the vda1 system partition, run the following command:

    e2fsck -yf /dev/vda1

    If you need to check another partition, for example vdb1, specify its name in the command:

    e2fsck -yf /dev/vdb1
  4. When the operation is complete, go back to the system boot settings and select "Standard system boot mode". After you save the settings and the server reboots, you can continue working.

Have more questions about Hosting?