If you are seeing error messages in the syslog or you suspect there are problems with the file system you can check it.
To start a filesystem check and correct all errors automatically run the following command:
1 |
fsck -C0 -y /dev/md2 |
This should be done when the partitions are not mounted, otherwise it can lead to data loss.