Earlier today I had an issue where my pi couldn’t be ssh’d into and the hdmi port was outputting nothing. I powered it off with the power button and it rebooted into emergency mode (I assume the sd card corrupted?). I reformatted the sd card and it was fine. However, it has just happened again. Does anyone know what could be wrong?
No important data is on the SD card, only an external drive attached to the pi. I have had to turn the pi off to take the data off of the drive.