FSCK question on FreeBSD 5.4R

Gerry Freymann lists at interpool.ca
Thu Mar 1 18:21:45 UTC 2007

On Thu, 1 Mar 2007 11:39:12 -0500
Jerry McAllister <jerrymc at msu.edu> wrote:

>On Thu, Mar 01, 2007 at 10:12:38AM -0500, Gerry Freymann 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.
>> Thanks for any assistance you might provide.
>Haven't seen that.  But I wonder - is the partition mounted?
>If you got to single user by rebooting to it, then it should be.
>But, if you got there any other way (???) it might not be.  

 I brought it to single user mode by becoming root and doing a shutdown
now, and then trying fsck, no go. So then I did a reboot and selected
single user mode, tried fsck as indicated above, still wouldn't write the

 Kinda weird!

More information about the freebsd-questions mailing list