All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Kujau <evil@g-house.de>
To: ReiserFS List <reiserfs-list@namesys.com>
Subject: Re: vpf-10680, minor corruptions -- oooh!
Date: Thu, 19 Jun 2003 20:55:36 +0200	[thread overview]
Message-ID: <3EF20728.2080905@g-house.de> (raw)
In-Reply-To: <20030619054535.GA23852@namesys.com>

Oleg Drokin schrieb:
> Well, normally reiserfs is caring about consistency.
> There are two noticeable omissions, though:
> 1. if the unexpected shutdown was because of power loss and you have write cache enabled
>    and your write reorders write requests, then it is possible invalid data gets
>    written to disk, before "transaction is finished" mark is written to the drive.

yes, the on-disk write cache. this could be indeed a problem hard to
cover from any fs. i could disable it, yes.

> So can you say check/fix the fs, mount it write some files to it,
> unmount it and run fsck again to see if everything is ok?

oh, oh! i was about to answer this question with a plain "Yes". ok, with
--fix-fixable the corruptions got fixed, a reiserfsck went O.K. with "no
corruptions". i mounted the device yesterday, but no files were written
to it until today. now, i've just unmounted the partition, reiserfsck
went O.K. again, no corruptions. mounted again, i created a directory on
the fs and copied 329 files into it (cp -a /lib /path-to-reiser-fs/).

unmounted, reiserfsck found 131 corruptions in an instant:


lila:~# reiserfsck /dev/sde2
<--------reiserfsck 3.6.6, 2003-------->

[...]

Do you want to run this program?[N/Yes] (note need to type Yes if you
do):Yes
###########
reiserfsck --check started at Thu Jun 19 16:51:49 2003
###########
Replaying journal..
0 transactions replayed
Checking internal tree..finished
Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs.
Checking Semantic tree:
/temp/lib/libnss_files-2.3.1.sovpf-10680: The file [3214 3538] has the
wrong block count in the StatData (104), should be (56)

[...]

finished

131 found corruptions can be fixed with --fix-fixable
###########
reiserfsck finished at Thu Jun 19 16:52:04 2003
###########
lila:~# find /lib/ | wc -l
     329
lila:~#


the pathnames (/temp/lib/...) are the same files i just copied to the
fs. i was not aware of a reproduceable bug (?) at all on this issue.

the fs is used once in a week very often, but rarely _during_ week. this
could be the cause, that i never recognized the errors before or were
fixed by a journal replay at boot time.

fyi only: i have _one_ weird issue with this alpha: it has 128 MB RAM
inside, but only 64 MB are recognized. putting 64 MB into it gives 32
MB, but 32 MB is still 32MB. this is odd, but kernel compiling / heavy
load causes no ooopses, well i got some with 2.5.6x kernels, but this is
long ago. and: the hd is a little old, it's a ST34573N (SCSI, 2 GB). but
there are no odd kernel messages or failures in the log.  i say this,
because often "bad RAM" or other issues are often on-topic here.


Thank you,
Christian.

PS: sorry for the delay. mail probs.


  reply	other threads:[~2003-06-19 18:55 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18 14:45 vpf-10680, minor corruptions Christian Kujau
2003-06-18 15:26 ` Oleg Drokin
2003-06-18 18:01   ` Christian Kujau
2003-06-19  5:45     ` Oleg Drokin
2003-06-19 18:55       ` Christian Kujau [this message]
2003-06-20 11:42         ` vpf-10680, minor corruptions -- oooh! Christian Kujau
2003-06-20 12:29           ` Oleg Drokin
2003-06-20 14:14             ` Christian Kujau
2003-06-20 22:43               ` vpf-10680 corruptions Christian Kujau
2003-06-21 10:37                 ` Christian Kujau
2003-06-21 10:41                   ` Oleg Drokin
2003-06-21 10:44                     ` Christian Kujau
2003-06-23  7:38       ` vpf-10680, minor corruptions Hans Reiser
2003-06-23  9:02         ` Oleg Drokin
2003-06-23  9:28           ` Hans Reiser
2003-06-23 13:38             ` Christian Kujau
2003-06-24 13:19               ` Oleg Drokin
     [not found]                 ` <3EF86928.7080504@g-house.de>
     [not found]                   ` <20030624151940.GC21845@namesys.com>
2003-06-24 17:21                     ` Christian Kujau
2003-06-25  0:42                       ` Christian Kujau
2003-06-25  5:40                         ` Oleg Drokin
2003-06-25 13:17                           ` Christian Kujau
2003-06-25 18:26                             ` Christian Kujau
2003-06-26  6:35                               ` Oleg Drokin
2003-06-26  9:26                               ` Oleg Drokin
2003-06-26 12:38                                 ` Christian Kujau
2003-06-27  9:28                                   ` Oleg Drokin
2003-06-27 12:18                                     ` Christian Kujau
2003-06-27 12:25                                       ` Oleg Drokin
2003-06-27 12:32                                         ` Christian Kujau
2003-06-27 12:38                                           ` Oleg Drokin
2003-06-27 16:13                                             ` Oleg Drokin
2003-06-27 16:23                                               ` Chris Mason
2003-06-27 17:34                                                 ` Oleg Drokin
2003-06-27 16:33                                               ` Christian Kujau
2003-06-27 16:33                                               ` Christian Kujau
2003-06-27 19:20                                               ` Christian Kujau
2003-06-27 21:14                                                 ` Oleg Drokin
2003-06-27 22:37                                                   ` Christian Kujau
2003-06-27 23:01                                                     ` Christian Kujau
2003-06-27 23:01                                                     ` Christian Kujau
2003-06-27 23:02                                                     ` Christian Kujau
2003-06-28  0:24                                                       ` vpf-10680, minor corruptions (sorry) Christian Kujau
2003-06-28  9:58                                                     ` vpf-10680, minor corruptions Oleg Drokin
2003-06-28 11:23                                                       ` Christian Kujau
2003-06-28 12:09                                                         ` Oleg Drokin
2003-06-28 11:45                                                       ` Christian Kujau
2003-06-28 11:53                                                         ` Oleg Drokin
2003-06-28 11:59                                                           ` Christian Kujau
2003-06-28 12:15                                                             ` Christian Kujau
2003-06-28 12:18                                                               ` Oleg Drokin
2003-06-28 15:52                                                                 ` vpf-10680, minor corruptions (solved?) Christian Kujau
2003-06-29  8:54                                                                   ` Oleg Drokin
2003-06-30  0:31                                                                     ` vpf-10680, minor corruptions (solved!) Christian Kujau
2003-06-30  5:31                                                                       ` Oleg Drokin
2003-06-26  6:28                             ` vpf-10680, minor corruptions Oleg Drokin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EF20728.2080905@g-house.de \
    --to=evil@g-house.de \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.