>Hmmph. I've got a machine running RedHat 5.1 --- it's been running happily for
>months as a web app server. So happily, in fact, that I haven't even logged
>onto the machine in weeks except using my browser.
>Unfortunately, today I come in and the machine isn't responding. I look over
>at the console and cron is *ing about not being able to stat stuff. I
>reboot, and get this ugly "unable to open initial console" message and ...
>kaput.
>My theory is that I ate up all my disk with Apache/custom logs. So I boot to
>a rescue disk and mount my /dev/hda1 and /dev/hda5. Both mount fine, but
>appear to have no files on them at all! Hmm. I run e2fsck on them; many
>errors are found and fixed, but no luck. I cat /dev/hda1 and see that,
>indeed, all my *is there (and LOTS of it looks like web logs).
sounds like it should have fixed up most problems.
If you are sure that you have the partition names right and you stillQuote:>I can't figure out for the life of me how to mount these disks in such a way
>that I can clean them up. I'm pretty new to Linux so I'm hoping this is just a
>lack of knowledge; the alternative is that my machine is just screwed.
don't see any files after remounting it probably isn't worth the
effort to try to salvage things. However, simply letting the disk
fill and rebooting should not cause this kind of problem and it is
extremely unlikely that you would see the same thing on 2 different
partitions at once. This sounds more like something accidentally or
intentionally removed all of your files (like 'rm -rf /') and the
'unable to open' message is because the /dev entries are gone.
Les Mikesell