My home server has a USB hard drive plugged to it. Once in a while, the breakers jump or there are power outages. Since my server is a laptop, it keeps chugging along, but the rest of the hardware (network, periphericals) do a power cycle.
My hard drive is set to auto-mount in fstab, but after a power outage, the drive remains listed, but isn't accessible. I get IO errors when trying to access it, and why I try to unmount it, I get "umount: mount disagrees with the fstab". Calling
mount -a or rebooting fixes the problem.
This did not happen with Linux Mint, but it does with this minimal Lubuntu install. How can I solve it?
UUID=bb14889e-70de-45f4-882a-5ef45708d283 /media/external1 ext4 defaults,errors=remount-ro,nobootwait 0 1