fsck

tech at nano.net tech at nano.net
Mon Sep 25 13:41:24 PDT 2006



Hi Peter,

The hard drive is in the fridge right now, in case it's a heat problem. 
It's FreeBSD version 4.x. It's getting hard read errors, and I'm using -y 
with fsck so it will continue on to the next error without prompting from 
me. The same thing happens whether I use the -y flag or not. It says that 
certain sectors are bad, moves on to the next bad sectors, and eventually 
says I need to rerun fsck. It's like "Groundhog Day", I get the same thing 
over and over and over... Nothing happened since the last boot, I was 
gzipping up the home folders to transfer to a new server (just in time I 
guess...) and it started getting really slowly. So I rebooted it from the 
command line and when it came back up it had problems. It has been 
restarted a few times in the past week and showed no errors at all before 
yesterday.

It found the same type of errors on the /var partition and dealt with those 
without problems. So I'm wondering what the difference might be... The /var 
partition found errors, fixed them, and marked the partition as clean.

Maybe I can mount a dirty partition..... I just need the data off it...




At 01:07 PM 9/25/2006, you wrote:
>On Mon, 2006-Sep-25 12:38:47 -0600, tech at nano.net wrote:
> >I've got a /usr partition with some problems. During boot it fails and I'm
> >prompted to run fsck manually. I do so and when fsck has finished it asks
> >me to run it again, and again, and again...it seems to find the same errors
> >each time.
>
>Can you give some more details please.
>What version of FreeBSD is this?
>What are the errors?
>What options are you giving fsck?
>What happened between the last time /usr fsck'd correctly and now?
>
>I don't have a script to re-create directories but it would be fairly
>easy to write one.
>
>--
>Peter Jeremy



More information about the freebsd-hackers mailing list