remote administration and power failure

This is a discussion on remote administration and power failure within the Linux Administration forums, part of the Linux Forums category; Hi all, Suppose I have a Linux box without UPS (uninterruptible power supply) at a remote site, and suppose power ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-05-2004
Hsiu-Khuern Tang
 
Posts: n/a
Default remote administration and power failure

Hi all,

Suppose I have a Linux box without UPS (uninterruptible power supply) at
a remote site, and suppose power is lost momentarily. When the machine
reboots, there is a chance that fsck cannot repair all the partitions
that were not cleanly unmounted, and asks the user to do it manually.
However, since this is a remote machine, I cannot be present at the
console to run fsck. How do I set things up so that the machine is more
robust to situations like this? I want to maximize the chance that I
can ssh into the machine even after a power failure. My experience so
far with manual fsck is that all that is required is a simple

<enter root password>
fsck -y /dev/hda1

or some such thing; how do I automate this?

Thanks,
Hsiu-Khuern.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:34 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0