Skip to contentSkip to conversation

Basic reiserfs question

DISCUSSION Mack Stevenson 2 participants 2 messages Sep 7, 2001

lore
Share & tools
lore
#0 lore raw

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?

Quoted 1 line

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.

Some times the second and third lines are present, some times they aren't...

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?

Or shouldn't I worry at all? ;-)

- Mack

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

#1 lore raw
Quoted 4 lines · Mack Stevenson

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?

Quoted 8 lines
Quoted 1 line

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.

Quoted 2 lines

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

Signature · 3 lines
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