Check for errors in partition in linux

To find the partition names

blkid

 

And then run, with the proper partition name:

e2fsck -f -y -v /dev/sdX