How to run manual file system check

How to run manual file system check

How to run manual file system check

If server is not coming up after “Startup” button is pressed, and you see one of the following messages in server console in VPS.NET dashboard:

or

This can suggest that manual file system check is required.  The system utility fsck (for “file system check”) will check the consistency of a file system and repaire it if damaged.  Because running fsck to repair a file system which is mounted for read/write operations can potentially cause severe data corruption/loss, the file system is normally checked while unmounted, mounted read-only, or with the system in a special maintenance mode that limits the risk of such damage. Let’s start by booting the server in recovery mode. When  using recovery mode there will be indicator on the top of the page saying “This VPS is in recovery mode”. Simply press “Reboot in Recovery” button:

 

Log in to this recovery image as root and password “recovery”. Your filesystem will be on /dev/sdb1. Run the file system check:

# fsck -yfC /dev/xvdb1

This will show you the progress of executing manual file system check.

Once done  shut down the VPS using “Force Power Off” button in dashboard:

Start the VPS with “Startup” button:

Once the status lamp turns on, then your server is up and fully operational.

    • Related Articles

    • Device name change issues after system upgrade

      Device name change issues after system upgrade Category: OS related issues, Other services, VPS.net dashboard, VPS.net features &nbsp If server does not boot up correctly and manual file system check as described in the article here: ...
    • Managing Firewall for your system

      Managing Firewall for your system Category: Template Information &nbsp The system firewall is based on iptables. Please read about iptables at Netfilter page. Make sure you are root while running commands below In general your sytem firewall is ...
    • How to Find Path to php.ini File

      In many instances, locating the active php.ini file is very simple. Run the following command to view the instances of php.ini, including “Loaded Configuration File”: php.ini # php --ini Example output: # php --ini Configuration File (php.ini) Path: ...
    • How To Store InnoDB Data In One File Per Table

      To achieve faster performance of MySQL server with InnoDB engine and for I/O optimization one can choose file-per-table mode. InnoDB storage engine stores all data for tables in a common tablespace. It is possible to configure InnoDB to store data ...
    • Rsync Backup and Restore Instructions

      Rsync Backup/Restore Instructions Category: Miscellaneous &nbsp Detailed Rsync backup instructions are available To begin, simply log in as root to your server using: shell access method (VPS Console, SSH, telnet, etc.) or control panel (Cpanel, ...