On Redhat 7.1 (which by default uses the ext2 non-journaled filesystem) it will indeed automatically run fsck upon the first boot after a power loss. However, if there are serious filesystem errors, the system won't boot and will instead sit there waiting for root to come along and manually fsck the filesystem and take more drastic measures.
A journaled filesystem such as ext3 or reiserfs or xfs or gfs (and there are even more) keeps track of filesystem changes and can much more gracefully recover from things like power loss. Note that this doesn't mean you'll never lose any data, just that the filesystem can easily roll back to a point before the power failure without corrupting the filesystem. Redhat 7.2 uses the ext3 filesystem by default. So do nearly all the other current stable linux distros. It's fairly simple to convert an ext2 filesystem to ext3 (assuming a 2.4.x kernel). A google search should turn up quite a few useful links. Jeff On 20 Mar 2002, John McCreesh wrote: > On Wed, 2002-03-20 at 12:03, Shane Kennedy wrote: > > Can anyone tell me how to set up (or point me to a site which could) a > > server to self recover from power outages/crashes ?. I particularly > > need to get around the occasional need to manually run fsck following > > these events. Presumably, I need to mount 'ro' the main fs, then build > > the runtime fs either in ramdisk, or Hdd and do similar 'pivot root' as > > the clients do. > > I'm confused - I have a perfectly standard RH 7.1 installation, running > on a Dell Dimension XPS. The Dell's bios is set to resume automatically > on power on. If power fails, when the power is restored the server just > boots again. It takes a bit longer than normal as RH does the fsck > stuff, but it's completely automatic, and I didn't have to set up > anything special. > > John > > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.openprojects.net > > _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net