Re: 7.0 and fsck question

2008-03-02 Thread Matthew Seaman
Walker wrote:
 Today I lost power and my FreeBSD 7.0-R server came up with all
 partitions not properly dismounted.  I was watching the fsck reports
 to syslog and noticed there wasn't one for the root partition.  Why is
 this?  No syslogd running at the point when fsck runs on /?

Two possibilities:

i) The root partition wasn't marked dirty at the time your system
crashed.  This seems unlikely to me unless you're doing things like
mounting root read-only.  

ii) The root partition is fsck'd somewhat earlier in the boot sequence
than other partitions. You'ld still see mention of it in the console
output. However it is the case that in the default system layout, there's
very little that would actually be writing to the root partition, and the
partition itself is pretty small, so even if the root does get fsck'd it
will be pretty quick and fairly painless.  Perhaps you simply missed
it in all the text scrolling up the screen?

Cheers,

Matthew

Note: mounting root read-only is guru territory -- unless you understand
what stuff is going to break, why and how to get around all that, then
it's best not to even contemplate such things.

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0 and fsck question

2008-03-02 Thread Lowell Gilbert
Walker [EMAIL PROTECTED] writes:

 On Sun, Mar 2, 2008 at 5:01 AM, Matthew Seaman
 [EMAIL PROTECTED] wrote:
  Two possibilities:

  i) The root partition wasn't marked dirty at the time your system
 [...]

 The root partition was mounted rw.

 I neglected to mention the box is headless, so I can only see what is
 logged.  I'm guessing syslogd wasn't running when fsck kicked off on
 the root partition.

In that case, you should be able to see it in the dmesg output.
If you still care enough to look.  ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0 and fsck question

2008-03-02 Thread Walker
On Sun, Mar 2, 2008 at 5:01 AM, Matthew Seaman
[EMAIL PROTECTED] wrote:
  Two possibilities:

  i) The root partition wasn't marked dirty at the time your system
[...]

The root partition was mounted rw.

I neglected to mention the box is headless, so I can only see what is
logged.  I'm guessing syslogd wasn't running when fsck kicked off on
the root partition.

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


7.0 and fsck question

2008-03-01 Thread Walker
Today I lost power and my FreeBSD 7.0-R server came up with all
partitions not properly dismounted.  I was watching the fsck reports
to syslog and noticed there wasn't one for the root partition.  Why is
this?  No syslogd running at the point when fsck runs on /?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]