So, um, lights outside didn’t turn on and it was already dark, I went to the dashboard and flicked the toggles to turn them on…long story short, the disk was full, it was now read only. I won’t be getting any lights soon.
I had no idea how to delete stuff because it was read only, nor how to remount the disk, really no clue whatsoever. So, I thought, “f**k it, if it comes to worse I just start over using the container, at least that way no matter how many times I start over something will be salvageable”. It’d be an opportunity for improvement, right? I convinced myself of that, at least.
So, I added an optical drive to the VM HA runs on/as, added a Fedora Live ISO and tried my luck. Fedora detected the disk straight away, I saw all the partitions with a huge one at the end, which happened to have that log directory I saw in the logs earlier. My lucky day, I guess.
It also showed another thing: the disk partition/volume was only at twenty-something-percent its capacity, yet it was already being locked off. Also, the log files were minuscule, only a few. Maybe two dozen; the largest less than 30MB. The awway where the VM lives is all flash and far from full as well. It was weird, but “find out later” I thought as I went on to get my lights back on, these are the only lights that don’t have a manual switch, no an easily accessible at least.
The GNOME Disks app in Fedora also mounted the partition as ro
, I added rw
in the gibberish in the options string but still mounted ro
. I noted the /dev
name and forced it in the command line, then issued something like rm -fR /hassss/log/<some-long-string>
looking at the screen with only one eye open as if it’d make any difference but to my surprise it worked. Twice lucky in one day.
I’m expecting bad news any minute now. I guess I’m sleeping with that eye open. …
My question is, why was the disk locked away?, specially when it wasn’t nowhere near full?! And followup: what can I do to prevent it happening again?? Is there an HA /serial under my bed?
Thanks for your help, I’m sorry if this is a repeat, I searched “disk full” as it was scolded out to another user but my question wasn’t so much as how to fix it rather than why and how to prevent it. =)