To start a ‘fsck’ (for Windows users: a ‘checkdisk’ for Linux), you may execute the following command in your shell:
fsck will run at next boot.
This command creates a file called ‘forcefsck’ in the root folder (‘/’). At boot time, fsck checks whether this file exists. When it does, fsck checks the harddisk.