[Gllug] headless server and fsck

Nix nix at esperi.org.uk
Thu Aug 11 16:22:00 UTC 2005


On Tue, 9 Aug 2005, ccooke moaned:
> On Tue, Aug 09, 2005 at 01:10:45PM +0100, Tom Schutzer-Weissmann wrote:
>> We run a headless server which got turned off by mistake. It restarted
>> without any problems, but I was wondering if there was a way of checking
>> the root filesystem without attaching a monitor and keyboard
>> 
>> Given that I believe it's unwise to run fsck on a mounted filesystem,
>> the only thing I can think of is to reboot the server with a live CD
>> that will start up sshd so I can go in and check out the hard disks.
>> 
>> Does anyone know a better way?
> 
> If you absolutely have to run it headless, then you can kick off all the
> users, kill every single process except your ssh session

... and init and your shell's other parents, and any daemons needed to keep
the network up and the filesystems accessible...

... but yes, you're pretty much right. That or get a box with
OpenPROM and use the serial or network consoles. :)

-- 
`I work in computers so, of course, I'm an expert on everything.'
                                                     --- Simon Rumble
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list