Re: harddisk woes after power outage
hi ya robert...
*ouch*...
yeah... its good that e2fsck can fix the fs..but sometimes...
the fs is badly broken from a power shutdown ...
there not much you can do unless ya wanna go fixing the
inodes and links etc.. ( not too easy ... :-)
- save your data to another disk...and reinstall
from your *.deb packages????
- let it check itself again..
-- devices...
> - which partition is "device 03:05" referring to (I guess hda5 but I´m
ls -la /dev | grep disk | grep 3, | grep 5
says that its hda5 your /usr partition
have fun
alvin
On Sun, 1 Jul 2001, Robert Waldner wrote:
>
> Hi!
>
> A few days ago, power went out for a couple of hours (no, I´m not
> living in California ;-) ).
>
> After it was restored, the box came back up, but a bunch of files were
> missing in /usr/lib/, so I went to runlevel 1, and re-ran fsck.ext2,
> which found a whole lot of errors and, supposedly, fixed them.
>
> The box seemed to be fine again.
>
> But today my syslog told me:
>
> Jul 1 05:39:22 WatchZwerg kernel: EXT2-fs error
> (device 03:05): ext2_readdir: directory #207768
> contains a hole at offset 5120
>
> (for offsets 1024, 2048, 3072, 4096, 5120, 6144 and 7168).
>
> So, single-user mode and fsck again, which found some 20 duplicate
> blocks, some 50 unallocated inodes, and, supposedly, fixed them.
>
> My questions now are:
>
> - which partition is "device 03:05" referring to (I guess hda5 but I´m
> not really sure)?
> - how can I find out what "directory #207768" is?
> - what could be the cause of those errors on a supposedly clean disk
> (fsck.ext2 -pycfv ran at least 3 times)
> - is it high time to start worrying on how to finance a new disk?
>
> The partition layout is:
> /dev/hda2 on / type ext2 (rw,errors=remount-ro)
> /dev/hda1 on /boot type ext2 (rw)
> /dev/hda6 on /var type ext2 (rw)
> /dev/hda7 on /home type ext2 (rw)
> /dev/hda8 on /mp3 type ext2 (rw)
> /dev/hda5 on /usr type ext2 (rw)
>
> Hints, cluons anyone?
>
> cheers,
> &rw
> --
> -- "If my son wants to be a pimp when he grows up, that's fine with me. I
> -- hope he's a good one and enjoys it and doesn't get caught. I'll support
> -- him in this. But if he wants to be a network administrator, he's out of
> -- the house and not part of my family." Steve Wozniak, http://www.woz.org
> ----
>
>
>
Reply to: