menu
small_header_rootserver.svg

netcup wiki

Server

Fixing File System Errors

Learn how to repair your file system using fsck.

If you encounter file system errors while booting your system, try using fsck to repair the file system.

Executing the following steps may result in data loss if the file system is significantly damaged. Only execute these steps if you have extensive knowledge of Linux system administration and understand the consequences of running this command. Back up your data before proceeding.

  1. Use lsblk to view a list of all hard disks and partitions on the system.
  2. Start the fsck process for the affected partition. The following command immediately checks the partition for file system errors and fixes them without prompting:

fsck -C0 -y -f /dev/vda3

Replace /dev/vda3 with the necessary partition.

Last update: 06/11/2025