FSCK question on FreeBSD 5.4R

illoai at gmail.com illoai at gmail.com
Thu Mar 1 18:21:04 UTC 2007


On 01/03/07, Gerry Freymann <lists at interpool.ca> wrote:
> I was doing some maintenance on my FreeBSD 5.4R box, and took it down to
> single user mode and ran
>
>         fsck -y
>
> I have four partitions on my drive, and the 2nd and 3rd partitions come up
> with errors and say run fsck manually.
>
> When I do:
>
>         fsck -y /dev/ad0s1e
>
> there's no difference, it just shows me the errors but doesn't fix 'em. I
> see (NO WRITE) on the partition which I figure is the problem.
>
> How do I get fsck to write the changes necessary? I used to know all this
> when I admin'd a half dozen boxes for about 5 years but 3 years later with
> little to no admin chores anymore I've forgotten.

Is the error (as such):

FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE?

Because, this is nothing more than an artifact of
fsck-ing a live filesystem with softupdates on.
Unmount (or maybe downgrade it to read-only).

-- 
--


More information about the freebsd-questions mailing list