Re: lost in the pines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Justin F. Kuo" wrote:

> I ran that command as:
> 
>   fsck /usr

You didn't unmout the filesystem before? BAD idea! File writes could
have been in disk cache, thus detroying more files. Always unmount (or,
if you absolutely have to mount it, like /, mount it read-only) the
filesystem before running fsck!

> and saw numerous messages silimar to these:
> 
>   /usr contains a file syste with error, check forced.
>   Pass1: Checking inodes, block sizes
>   Pass2: Checking directory structures
>   Missing ".." in inode 2260993
>   Fin<y>? yes

So your filesystem was severely damaged. Now you need to find the
reason. Since for now no more errors show up, things like loose or
oxidated cable connectors or damaged IDE or SCSI controllers are not
very likely. So look in /var/log/messages for anything unusual at the
beginning of the problems (did you power off the computer without
shutting down Linux before? Power outage?) and run the command badblocks
which looks for bad blocks on your drive.

If it reports much bad blocks, you are likely experiencing harddisk
degradation. The best you can do then is to make a backup of all your
data and get a new harddisk (reclaim the harddisk if it's still under
warranty!). When bad blocks show up they usually increase in number
rather fast, and you will more and more data.

If there are no (or a lot less than I/O errors were in your initial ls
command) bad blocks, the harddisk might be healthy, but keep an eye on
it (and fsck the other partitions on that drive after unmounting them).
To reinstall the missing programs, verify your RPMs like suggested by
Michael Schwendt, or, probably easier, make a backup of your data and
simply reinstall.

And, of course, make regular backus of your data. ;-)) Data loss always
happens shortly before you wanted to do a backup...

Best regards,
Martin Stricker
-- 
Homepage: http://www.martin-stricker.de/
Linux Migration Project: http://www.linux-migration.org/
Red Hat Linux 7.3 for low memory: http://www.rule-project.org/
Registered Linux user #210635: http://counter.li.org/



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux