Checking SD card integrity

If you are experiencing issues with your SD card (or have been directed here), you should check your SD card for errors.