Welcome to Emergency Mode
Posted: Wed Apr 05, 2017 2:31 pm
A few days after a brief power outage, I noticed my hda was unresponsive to ping, web interface or SSH. Have not made any changes to it within last 5-6 months, not even any new data saved to it within past several weeks, so I powered it down, waited a few seconds then powered it back on. (This being all it normally takes to resolve the occasional glitch).
To my surprise, the next time I went to access the server shares, it was still unavailable. Checked the switch, port it's plugged into shows a connection light so I shrugged and went to did up a monitor and cable to check it out...
Although the monitor I am using works fine in startup (all text etc on screen), once Fedora starts loading all the text etc jumps about a half inch or so off the left side of the screen, which is a huge pain... The part I can see says something about Control+D to continue and to enter root password for troubleshooting mode. Control+D seems to make it try to start again, but comes back to same message. Root password drops it out to a command line with root credentials. Network still seems to be uninitialized - I show link light at the switch for the cable, but IP is still unreachable.
Quick google-fu and I realize I am in Fedora's 'Welcome to Emergency mode' screen - and a look at the logs via journalctl shows a couple of drives that appear to be having trouble mounting. Not 100% as there is a massive amount of data being shown and some of it is off the sides of the screen where I can't read it.
Current plan is to edit /etc/fstab and comment all of the drives out from loading except the mirrored pair of SSD's I use as a boot drive and add them back in one by one. I sure wish there was the equivalent of 'Safe mode with networking so I could SSH this, as the location of this thing makes hooking up a keyboard and typing anything a juggling act. While I'm wishing, I could also do with better linux skills, since I so rarely have to do anything with this beast I always feel thumb-fingered when I do.
If there are any better suggestions to approaching this, or ways to just filter out the errors from the journalctl command so I can attack in a more targeted fashion, that would be awesome.
To my surprise, the next time I went to access the server shares, it was still unavailable. Checked the switch, port it's plugged into shows a connection light so I shrugged and went to did up a monitor and cable to check it out...
Although the monitor I am using works fine in startup (all text etc on screen), once Fedora starts loading all the text etc jumps about a half inch or so off the left side of the screen, which is a huge pain... The part I can see says something about Control+D to continue and to enter root password for troubleshooting mode. Control+D seems to make it try to start again, but comes back to same message. Root password drops it out to a command line with root credentials. Network still seems to be uninitialized - I show link light at the switch for the cable, but IP is still unreachable.
Quick google-fu and I realize I am in Fedora's 'Welcome to Emergency mode' screen - and a look at the logs via journalctl shows a couple of drives that appear to be having trouble mounting. Not 100% as there is a massive amount of data being shown and some of it is off the sides of the screen where I can't read it.
Current plan is to edit /etc/fstab and comment all of the drives out from loading except the mirrored pair of SSD's I use as a boot drive and add them back in one by one. I sure wish there was the equivalent of 'Safe mode with networking so I could SSH this, as the location of this thing makes hooking up a keyboard and typing anything a juggling act. While I'm wishing, I could also do with better linux skills, since I so rarely have to do anything with this beast I always feel thumb-fingered when I do.
If there are any better suggestions to approaching this, or ways to just filter out the errors from the journalctl command so I can attack in a more targeted fashion, that would be awesome.