[CentOS] ssh in while in fsck

Wed Apr 27 20:28:43 UTC 2011
m.roth at 5-cent.us <m.roth at 5-cent.us>

Brian Mathis wrote:
> On Wed, Apr 27, 2011 at 4:14 PM,  <m.roth at 5-cent.us> wrote:
>> My manager reminds me that "in the old Sun days", the ssh server came up
>> first, *before* the fsck on boot, so that if there was a problem, and
>> fsck was waiting for an answer, you could remotely ssh in, kill it,
restart
>> it, and answer (or give it the right flags).
>>
>> Does anyone know if it's possible to have that happen with CentOS? It
>> would be nice to have it boot that way, so that if you checked, and
>> figured it should have been up already, you could handle the problem
>> without coming in....
>
> I think having a decent remote console is the solution to that.  DRAC,
> KVMoIP, Serial console, etc...  I'm not sure how it could be
> considered safe to start services like sshd before the filesystem has
> been checked.

Hmm, now *that's* an interesting thought: with, say, DRAC, could you ssh
into a management server, then go to a booting system?

       mark