Re: fsck





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@xxxxxxxx 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

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • boot0 screen output with dual-boot of FreeBSD / WinXP
    ... I used FreeBSD to partition the 120Gb drive into roughly "half". ... Of course XP clobbered the boot manager, ... it appears that partition type "7" just isn't a "known" type. ...
    (freebsd-hackers)
  • Re: [SLE] fsck!!!
    ... If the problem is in the root partition, ... Also, considering your fstab: ... > that is needed during the manual fsck part. ... >>local harddisk, boot safely, rescue mode and a couple of others. ...
    (SuSE)
  • RE: Changing boot partition ACCOMPLISHED, now INIT problem
    ... I installed a minimum FreeBSD and created a second slice to restore the ... mounted it and restored the backup to that partition. ... key on boot manager It started to boot the FreeBSD of the wrecked machine:) ...
    (freebsd-questions)
  • RE: Changing boot partition - ACCOMPLISHED, now INIT problem :(
    ... I accomplished the restore of a wrecked machine only with a .tar backup from ... I installed a minimum FreeBSD on a new ... the new partition as / ad1s2a). ... I have access to the contents of it if I boot through the minimum SO ...
    (freebsd-questions)
  • Dual Booting -- Help Please!
    ... FreeBSD getting 25 gig of my single 40 gig drive. ... Install FreeBSD 5.3-RELEASE ... I choose to install the FreeBSD Boot Manager ... Format first partition as NTFS ...
    (comp.unix.bsd.freebsd.misc)