LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2003, 07:06 PM   #1
JMCraig
Member
 
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Rep: Reputation: 15
Recovery from overloaded /


Hi Folks,

Is there a slick way to do some kind of partial reinstall of RH 8.0 to put back all the stuff that's now gone since I overloaded the / partition?

I (successfully?) erased the space hogging rpm's, but then the whole system was rather unhappy and I had to go find some pieces and install them so that I'd get back up to an X-style workstation rather than just a terminal (with some critical things missing). What had apparently happened was that some .so's had gotten blasted or at least were no longer where they could be found.

That was all very interesting, but now that the GUI's back up, some of the menu options don't do a blessed thing.

Recommendations?

John
 
Old 03-31-2003, 08:46 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi John,

and I'm not quite sure what exactly you mean/
have done to your box. But as you seem to
miss a few things you find essential I'd recommend
you use rpm to re-install them.

You may want to try rpm -i --test <package> before
actually doing it

If you find problems for certain packages or
if rpm would overwrite configuration files you
want to preserve, give man rpm a closer look
and try to tackle it from there.

Cheers,
Tink
 
Old 04-01-2003, 11:26 AM   #3
JMCraig
Member
 
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Original Poster
Rep: Reputation: 15
Unhappy A bit more detail

Thanks, Tinkster,

For anyone else who's following this, here's what happened: I was installing Sybase on the RH 8 system. It wants to put itself in /opt (which is right off of the root /)--and that's not a place I have unlimited space.

Well, after putting it on, I get these messages from Linux warning the that / partition is critically low on space; then it starts behaving erratically.

Well, having used rpm to erase the Sybase rpms (the space available on / drops way down--lower than I thought it would), now a bunch of stuff that *was* there and working isn't. E.g., ssh wouldn't load because one of the lib's it wanted was gone (I found that and reloaded it); same thing with X-windows (although figuring out what was missing was a bit more interesting there). Now that I have the GUI back, other things are still missing: the up2date utility for connecting to the RedHat network; the GUI package manager; various other GUI-tools.

I've read the man for rpm till I'm blue in the face. The trouble with man docs for us know-enough-to-be-dangerous types is they don't have examples and they don't have any background or be-careful-about-such-and-such things. So, what I'm wondering sort of falls into three subquestions:

1. What happened? Is this some kind of known behavior that things get overwritten or messed up when space on the root partition goes low? Did using the --erase option on rpm to remove the Sybase rpms pick up and delete the other rpms they depended on?

2. If there was some slick way to recover rather than doing an rpm-by-rpm reload of what's missing, that'd be interesting to know.

3. What's the best way to go about backing up an install of Linux so that if this happens again, I don't end up having to sift through the fiddly bits to get things back? I did download something called partimage--is that the kind of tool to use? It seems to want the partition you're backing up to be unmounted. How do you do that with / or /boot? Do I need to interrupt the boot-up at some early stage or boot from a CD or what?

Thanks friends,

John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ext3 recovery? Ynog Linux - Software 4 07-02-2010 08:38 AM
Recovery TheOracle Linux - Newbie 4 05-14-2005 02:05 PM
recovery ilnli General 1 02-23-2005 01:10 AM
CPU Overloaded jayakrishnan Linux - General 4 03-03-2003 12:33 AM
overloaded irq assignment manojrkrish Linux - Hardware 0 06-27-2002 11:12 AM


All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration