lkml.org 
[lkml]   [2001]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Basic reiserfs question
On Sep 07, 2001  13:38 +0200, Mack Stevenson wrote:
> Sorry, but there's something still troubling me: is getting the following
> lines written to syslog normal upon booting after a "clean" shutdown or an
> indicator of a "dirty" shutdown?
>
> >From syslog, referring to the last time I booted my machine:
>
> reiserfs: checking transaction log (device 03:02) ...
> Warning, log replay starting on readonly filesystem
> reiserfs: replayed 16 transactions in 4 seconds
> using r5 hash to sort names
> ReiserFS version 3.6.25
> VFS: Mounted root (reiserfs filesystem) readonly.

This clearly means that it is a "dirty" shutdown, because it is replaying
the journal log.

> Should I worry if I don't get such messages whenever I boot? Or should I
> worry if I get those messages after (apparently) clean shutdown procedures?

It would be troublesome if you got the messages after a clean shutdown.
This might mean that reiserfs is not syncing some journal buffers to disk
when the root filesystem is remounted read-only. Alternately, it may mean
that it is finding bogus transactions to replay in the journal (I don't
know how reiserfs determines whether the journal is clean or dirty).

It may also mean that your disk claims to have written data to disk, but
then only puts it in cache and you power off before in actually writes it.
Do you have APM/ACPI power off after shutdown?

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.460 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site