System Recovery

Jarod Wilson jarod at wilsonet.com
Tue Jul 15 11:21:22 EDT 2008


Yep, fsck would be the place to start. Look in /mnt/sysimage/etc/fstab
to see what physical device /var is and fsck that bad boy. I'd start
with just a simple 'fsck /dev/sdaX' and go from there.


On Tue, 2008-07-15 at 11:12 -0400, Labitt, Bruce wrote:
> Thanks Jarod.  Hmm, I only have a 5.1 DVD right now.  Will that work?
> Or do I have to create a 5.2 dvd on another machine?
> 
> As for repairs they would be fsck?
> 
> Thanks,
> Bruce
> 
> -----Original Message-----
> From: gnhlug-discuss-bounces at mail.gnhlug.org
> [mailto:gnhlug-discuss-bounces at mail.gnhlug.org] On Behalf Of Jarod
> Wilson
> Sent: Tuesday, July 15, 2008 10:57 AM
> To: gnhlug-discuss at mail.gnhlug.org
> Subject: Re: System Recovery
> 
> On Tue, 2008-07-15 at 10:34 -0400, Mark Greene wrote:
> > I'd start by booting it off of the system CD, run fsck on /var and see
> > how much of it is still intact.  Then check the system logs for hard
> > drive and PCI errors.  
> 
> i.e., insert Scientific Linux 5.2, CD1 (or DVD), and boot it like so:
> 
> boot: linux rescue
> 
> Does certainly sound like you've got a dedicated /var, and its been
> corrupted.
> 
> Alternatively, you should also be able to boot into single-user mode and
> perform repairs from there.
> 
> 
> > On Tue, Jul 15, 2008 at 10:18 AM, Labitt, Bruce
> > <labittb1 at tycoelectronics.com> wrote:
> >         What tools are available for recovery of a linux system?  I
> >         have no idea
> >         what happened - but my system took a dump.  SciLinux5.2
> >         (RHEL5.2).  I
> >         make it through the text mode then go into the x detail mode.
> >          I get a
> >         lot of daemons failing and the odd lines that say stuff like:
> >         
> >         touch cannot touch /var/lock/subsys : Not a directory
> >         
> >         can't create /var/run/dhclient-eth1.pid: Not a directory
> >         
> >         touch cannot touch 'var/lock/subsys/netplugd': Not a directory
> >         
> >         
> >         Then the line "Starting system logger:"  which takes minutes
> >         to complete
> >         - lots of failed module loads follow then I'm dumped out of X
> >         mode and
> >         get a text display which states
> >         
> >         "Server Authorization directory (daemon/ServAuthDir) is set
> >         to /var/gdm
> >         but this does not exist.  Please correct GDM configuration and
> >         restart
> >         GDM."
> >         
> >         
> >         This all happened when I started a K3b format of a DVD+RW disk
> >         - if it
> >         matters...  The system rebooted on me and I have been hosed
> >         ever since.
> >         I guess the first thing to do is to get what ever data off it
> >         that I can
> >         first...  I didn't think an application could cause this kind
> >         of carnage
> >         in linux...
> >         
> >         Is Knoppix live ok for this?  Something better?
> >         
> >         Bruce
> >         
> >         _______________________________________________
> >         gnhlug-discuss mailing list
> >         gnhlug-discuss at mail.gnhlug.org
> >         http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> > 
> > 
> > _______________________________________________
> > gnhlug-discuss mailing list
> > gnhlug-discuss at mail.gnhlug.org
> > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> 
> 


-- 
Jarod Wilson
jarod at wilsonet.com



More information about the gnhlug-discuss mailing list