Re: FSCK question on FreeBSD 5.4R

2007-03-01 Thread Gerry Freymann
On Thu, 1 Mar 2007 12:21:02 -0600
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

>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).

 Awh, you may have hit the nail on the head.

/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1d on /files (ufs, local, soft-updates)
/dev/ad0s1e on /usr (ufs, local, soft-updates)
/dev/ad0s1f on /var (ufs, local, soft-updates)
/dev/ad0s1g on /web (ufs, local, soft-updates)

 Soft updates are on. Is that true even in single user mode?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FSCK question on FreeBSD 5.4R

2007-03-01 Thread Gerry Freymann
On Thu, 1 Mar 2007 11:39:12 -0500
Jerry McAllister <[EMAIL PROTECTED]> 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
changes.

 Kinda weird!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FSCK question on FreeBSD 5.4R

2007-03-01 Thread [EMAIL PROTECTED]

On 01/03/07, Gerry Freymann <[EMAIL PROTECTED]> 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).

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FSCK question on FreeBSD 5.4R

2007-03-01 Thread Jerry McAllister
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.  

Just a shot in the dark,

jerry

> 
> -gerry
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"