Recover Corrupt /dev

Algis Zyle azyle at integrity-software.com
Wed May 5 15:35:26 UTC 2004


Checked that, Every other partition is at 50% or less filled...which is
what makes this so bizarre...and why it sounds like a "configuration"
file of sorts got corrupted....and Everything points to /dev items (even
the X error message says  "can't open /dev/xxxx"...for example in Rescue
mode....I made a back up with the default rescue /dev/st0 device....For
laughs I then tried to do a cpio using the Old Device
(/mnt/sysimage/dev/st0)....And it Worked !!!

-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of jludwig
Sent: Wednesday, May 05, 2004 11:22 AM
To: Getting started with Red Hat Linux
Subject: Re: Recover Corrupt /dev

On Wed, 2004-05-05 at 10:31, Algis Zyle wrote:
> Redhat Admin Newbie, Any help would be appreciated: We're Running
> Redhat 9
> 
>  
> 
> 1)       A colleague of mine intended on doing a backup and by
> accident re-directed the output to /dev/rt0 (a file) instead of
> st0..eventually people complained they couldn't print, etc..It turns
> out that it filled up the file system...before we found this out, we
> had rebooted and did a fschk (not knowing the real problem
> yet).Anyway,eventually deleted the rt0 file..but. Xwindows wouldn't
> come up (Couldn't open the /dev/ device)., Networking stopped
> working.I couldn't access the tape drive or cdrom anymore (/dev/st0,
> /dev/hdc) even though they existed in the dev directory...I went into
> rescue mode and at least made a backup etc..How can I fix the /dev
> directory and/or anything else that may have went south by the file
> system getting full without re-installing Redhat.(Again, I'm not a
> hard core Redhat Admin)..
snip
If this is a server, I suspect that you probably have separate
partitions for /var /usr /home etc. You should check, especially
/var/spool, to see if they are also filled with garbage files. If you
have a /var partition that is filled X and many other programs and such
will not work.
-- 
jludwig <wralphie at comcast.net>


_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe





More information about the Redhat-install-list mailing list