All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Weissenbacher <webmaster@dermichi.com>
To: ReiserFS List <reiserfs-list@namesys.com>
Cc: David Dabbs <david@dabbs.net>
Subject: Re: fsck.reiser4 problem (was: reiser4 corruption problem)
Date: Tue, 31 Aug 2004 10:52:35 +0200	[thread overview]
Message-ID: <41343C53.3080507@dermichi.com> (raw)
In-Reply-To: <20040831012446.631CB15E2E@mail03.powweb.com>

> 
> My pleasure. Thank /you/ for helping to debug!
> 
*-*-*-*-*-*-*-*-*-*
if have a rather long answer this time, this is a test run i made today. 
i wanted to include full details. i'm wondering if there is still 
something these files have in common. first i created some test files on 
a spare partition with "touch":
*-*-*-*-*-*-*-*-*-*

criminal tmp # ls -lha
total 1.5K
drwxr-xr-x   3 root root  20 31. Aug 10:28 .
drwxr-xr-x  12 root root 392 29. Aug 16:31 ..
-rw-r--r--   1 root root   0 31. Aug 10:23 123456789012345678901234ö
-rw-r--r--   1 root root   0 31. Aug 10:23 123456789012345678901234ö.doc
-rw-r--r--   1 root root   0 31. Aug 10:23 12345678901234567890123ö
-rw-r--r--   1 root root   0 31. Aug 10:23 1234567890123456789012ö
-rw-r--r--   1 root root   0 31. Aug 10:23 123456789012345678901ö
-rw-r--r--   1 root root   0 31. Aug 10:22 12345678901234567890ö
-rw-r--r--   1 root root   0 31. Aug 10:22 1234567890123456789ö
-rw-r--r--   1 root root   0 31. Aug 10:22 123456789012345678ö
-rw-r--r--   1 root root   0 31. Aug 10:22 12345678901234567ö
-rw-r--r--   1 root root   0 31. Aug 10:26 1234567890123456äöülala.txt
-rw-r--r--   1 root root   0 31. Aug 10:20 1234567890123456ö
-rw-r--r--   1 root root   0 31. Aug 10:20 123456789012345ö
-rw-r--r--   1 root root   0 31. Aug 10:25 BewerbungFürAnwaltsbü
-rw-r--r--   1 root root   0 31. Aug 10:21 BewerbungFürAnwaltsbüro.doc
-rw-r--r--   1 root root   0 31. Aug 10:27 BewerbungFürAnwaltsbüro.txt
-rw-r--r--   1 root root   0 31. Aug 10:28 Graphik01Markenidentitöt.txt
-rw-r--r--   1 root root   0 31. Aug 10:27 LässigerDaäeinaüasd.sxd
-rw-r--r--   1 root root   0 31. Aug 10:20 asdfghjklqwertzö

*-*-*-*-*-*-*-*-*-*
with these filename-set fsck reported only 1 fatal corruption
*-*-*-*-*-*-*-*-*-*

criminal mnt # fsck.reiser4 /dev/sda1
*******************************************************************
This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
*******************************************************************

Fscking the /dev/sda1 block device.
Will check the consistency of the Reiser4 SuperBlock.
Will check the consistency of the Reiser4 FileSystem.
Continue?
(Yes/No): y
***** fsck.reiser4 started at Tue Aug 31 10:31:22 2004
Reiser4 journal (journal40) on /dev/sda1: 0 transactions replayed of the 
total 0 blocks.
Reiser4 fs was detected on /dev/sda1.
Master super block (16):
magic:          ReIsEr4
blksize:        4096
format:         0x0 (format40)
uuid:           d0373d79-949c-4de8-aa88-fed3eb9690f9
label:          <none>

Format super block (17):
plugin:         format40
description:    Disk-format for reiser4, ver. 1.0.0
magic:          ReIsEr40FoRmAt
flushes:        0
mkfs id:        0x1b9004a9
blocks:         31271
free blocks:    31246
root block:     23
tail policy:    0x2 (smart)
next oid:       0x10014
file count:     19
tree height:    2
key policy:     LARGE


CHECKING STORAGE TREE
         Read nodes 2
         Nodes left in the tree 2
                 Leaves of them 1, Twigs of them 1
         Time interval: Tue Aug 31 10:31:22 2004 - Tue Aug 31 10:31:22 2004
CHECKING EXTENT REGIONS.
         Read twigs 1
         Time interval: Tue Aug 31 10:31:22 2004 - Tue Aug 31 10:31:22 2004
CHECKING SEMANTIC TREE
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):131323334353637:3839303132333435:20c8b16c855]. Should be
[2a:0(NAME):131323334353637:3839303132333435:20c8b1617a5].
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [14]: entry 
has wrong offset
[2a:0(NAME):131323334353637:3839303132333435:1689f9f584a0]. Should be
[2a:0(NAME):131323334353637:3839303132333435:1689f9f4d3f0].
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [15]: entry 
has wrong offset
[2a:0(NAME):131323334353637:3839303132333435:dc740ba51264c]. Should be
[2a:0(NAME):131323334353637:3839303132333435:9326977e040dc].
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [16]: entry 
has wrong offset
[2a:0(NAME):131323334353637:3839303132333435:5090910834f0e6c]. Should be
[2a:0(NAME):131323334353637:3839303132333435:50909105bd60cbc].
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [17]: entry 
has wrong offset
[2a:0(NAME):142657765726275:6e6746fc72416e77:135160352fe624]. Should be
[2a:0(NAME):142657765726275:6e6746fc72416e77:13514d8cfe19f4].
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [18]: entry 
has wrong offset
[2a:0(NAME):142657765726275:6e6746fc72416e77:13516035356e9b]. Should be
[2a:0(NAME):142657765726275:6e6746fc72416e77:13514d8d03a26b].
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [19]: entry 
has wrong offset
[2a:0(NAME):14772617068696b:30314d61726b656e:e284761c4e0e6f]. Should be
[2a:0(NAME):14772617068696b:30314d61726b656e:e284746a1afbdf].
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [20]: entry 
has wrong offset
[2a:0(NAME):15769655465616d:73456666697a6965:36c5742b38d77b7b]. Should be
[2a:0(NAME):15769655465616d:73456666697a6965:36c56b59b94df8cb].
         Found 1 objects.
         Time interval: Tue Aug 31 10:31:22 2004 - Tue Aug 31 10:31:22 2004
***** fsck.reiser4 finished at Tue Aug 31 10:31:22 2004
Closing fs...done

1 fatal corruptions were detected in FileSystem. Run with --build-fs 
option to fix them.

*-*-*-*-*-*-*-*-*-*
I know that this 1 fatal corruption appeared after "touching" the 
filename "BewerbungFürAnwaltsbüro.doc", because i always did (touch; 
umount; fsck.reiser4; mount; touch...). all other files did not seem to 
cause fatal corruption. So i wanted to see of only this filename gets 
moved to lost+found.
*-*-*-*-*-*-*-*-*-*

criminal mnt # fsck.reiser4 /dev/sda1 --build-fs
*******************************************************************
This is an EXPERIMENTAL version of fsck.reiser4. Read README first.
*******************************************************************

Fscking the /dev/sda1 block device.
Will check the consistency of the Reiser4 SuperBlock.
Will build the Reiser4 FileSystem.
Continue?
(Yes/No): y
***** fsck.reiser4 started at Tue Aug 31 10:31:44 2004
Reiser4 journal (journal40) on /dev/sda1: 0 transactions replayed of the 
total 0 blocks.
Reiser4 fs was detected on /dev/sda1.
Master super block (16):
magic:          ReIsEr4
blksize:        4096
format:         0x0 (format40)
uuid:           d0373d79-949c-4de8-aa88-fed3eb9690f9
label:          <none>

Format super block (17):
plugin:         format40
description:    Disk-format for reiser4, ver. 1.0.0
magic:          ReIsEr40FoRmAt
flushes:        0
mkfs id:        0x1b9004a9
blocks:         31271
free blocks:    31246
root block:     23
tail policy:    0x2 (smart)
next oid:       0x10014
file count:     19
tree height:    2
key policy:     LARGE


CHECKING STORAGE TREE
         Read nodes 2
         Nodes left in the tree 2
                 Leaves of them 1, Twigs of them 1
         Time interval: Tue Aug 31 10:31:45 2004 - Tue Aug 31 10:31:45 2004
CHECKING EXTENT REGIONS.
         Read twigs 1
         Time interval: Tue Aug 31 10:31:45 2004 - Tue Aug 31 10:31:45 2004
LOOKING FOR UNCONNECTED NODES
         Read nodes 0
         Good nodes 0
                 Leaves of them 0, Twigs of them 0
         Time interval: Tue Aug 31 10:31:45 2004 - Tue Aug 31 10:31:45 2004
CHECKING EXTENT REGIONS.
         Read twigs 0
         Time interval: Tue Aug 31 10:31:45 2004 - Tue Aug 31 10:31:45 2004
INSERTING UNCONNECTED NODES
1. Twigs: done
2. Twigs by item: done
3. Leaves: done
4. Leaves by item: done
         Twigs: read 0, inserted 0, by item 0, empty 0
         Leaves: read 0, inserted 0, by item 0
         Time interval: Tue Aug 31 10:31:45 2004 - Tue Aug 31 10:31:45 2004
CHECKING SEMANTIC TREE
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):131323334353637:3839303132333435:20c8b16c855]. Should be
[2a:0(NAME):131323334353637:3839303132333435:20c8b1617a5]. Removed.
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):131323334353637:3839303132333435:1689f9f584a0]. Should be
[2a:0(NAME):131323334353637:3839303132333435:1689f9f4d3f0]. Removed.
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):131323334353637:3839303132333435:dc740ba51264c]. Should be
[2a:0(NAME):131323334353637:3839303132333435:9326977e040dc]. Removed.
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):131323334353637:3839303132333435:5090910834f0e6c]. Should be
[2a:0(NAME):131323334353637:3839303132333435:50909105bd60cbc]. Removed.
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):142657765726275:6e6746fc72416e77:135160352fe624]. Should be
[2a:0(NAME):142657765726275:6e6746fc72416e77:13514d8cfe19f4]. Removed.
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):142657765726275:6e6746fc72416e77:13516035356e9b]. Should be
[2a:0(NAME):142657765726275:6e6746fc72416e77:13514d8d03a26b]. Removed.
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):14772617068696b:30314d61726b656e:e284761c4e0e6f]. Should be
[2a:0(NAME):14772617068696b:30314d61726b656e:e284746a1afbdf]. Removed.
FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry 
has wrong offset
[2a:0(NAME):15769655465616d:73456666697a6965:36c5742b38d77b7b]. Should be
[2a:0(NAME):15769655465616d:73456666697a6965:36c56b59b94df8cb]. Removed.
FSCK: Node (24), item (0), [29:0:2a] (stat40): wrong size (21), Fixed to 
(13).
FSCK: Node (24), item (0), [29:0:2a] (stat40): wrong bytes (1278), Fixed 
to (650).
FSCK: No 'lost+found' entry found. Building a new object with the key 
2a:0:ffff.
FSCK: Failed to recognize the plugin for the directory [2a:0:ffff].
FSCK: Trying to recover the directory [2a:0:ffff] with the default 
plugin--dir40.
FSCK: The file [2a:0:ffff] does not have a StatData item. Creating a new 
one. Plugin dir40.
FSCK: Directory [2a:0:ffff]: The entry "." is not found. Insert a new 
one. Plugin (dir40).
FSCK: Node (24), item (2), [2a:0:ffff] (stat40): wrong size (0), Fixed 
to (1).
FSCK: Node (24), item (2), [2a:0:ffff] (stat40): wrong bytes (0), Fixed 
to (50).
         Found 21 objects.
         Time interval: Tue Aug 31 10:31:45 2004 - Tue Aug 31 10:31:45 2004
CLEANUPING STORAGE TREE
         Removed items 0
         Time interval: Tue Aug 31 10:31:45 2004 - Tue Aug 31 10:31:45 2004
***** fsck.reiser4 finished at Tue Aug 31 10:31:45 2004
Closing fs...done

FS is consistent.

*-*-*-*-*-*-*-*-*-*
OK, let's see which filenames were moved:
*-*-*-*-*-*-*-*-*-*

criminal tmp # ls -lha
total 2.0K
drwxr-xr-x   5 root root  14 31. Aug 10:29 .
drwxr-xr-x  12 root root 392 29. Aug 16:31 ..
-rw-r--r--   1 root root   0 31. Aug 10:23 1234567890123456789012ö
-rw-r--r--   1 root root   0 31. Aug 10:23 123456789012345678901ö
-rw-r--r--   1 root root   0 31. Aug 10:22 12345678901234567890ö
-rw-r--r--   1 root root   0 31. Aug 10:22 1234567890123456789ö
-rw-r--r--   1 root root   0 31. Aug 10:22 123456789012345678ö
-rw-r--r--   1 root root   0 31. Aug 10:22 12345678901234567ö
-rw-r--r--   1 root root   0 31. Aug 10:20 1234567890123456ö
-rw-r--r--   1 root root   0 31. Aug 10:20 123456789012345ö
-rw-r--r--   1 root root   0 31. Aug 10:25 BewerbungFürAnwaltsbü
-rw-r--r--   1 root root   0 31. Aug 10:27 LässigerDaäeinaüasd.sxd
-rw-r--r--   1 root root   0 31. Aug 10:20 asdfghjklqwertzö
drwxr-xr-x   3 root root  10 31. Aug 10:31 lost+found

criminal tmp # ls lost+found/
lost_name_2a:131323334353637:1000bÿ¿`oÿ·êÓã·?? 
lost_name_2a:142657765726275:10004ÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000cÿ¿`oÿ·êÓã·?? 
lost_name_2a:142657765726275:10011ÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000dÿ¿`oÿ·êÓã·?? 
lost_name_2a:14772617068696b:10012ÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000fÿ¿`oÿ·êÓã·?? 
lost_name_2a:15769655465616d:10013ÿ¿`oÿ·êÓã·??

*-*-*-*-*-*-*-*-*-*
Hey, 8 files are trash now! And look at the filenames in lost+found! I 
can't even rm these files because they contain these weird characters... 
So i guess i'll have to reformat.
*-*-*-*-*-*-*-*-*-*

Michael

  reply	other threads:[~2004-08-31  8:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31  1:24 fsck.reiser4 problem (was: reiser4 corruption problem) David Dabbs
2004-08-31  8:52 ` Michael Weissenbacher [this message]
     [not found]   ` <41344719.7040700@free.fr>
2004-08-31  9:43     ` fsck.reiser4 problem Michael Weissenbacher
2004-08-31 10:09 ` fsck.reiser4 problem (was: reiser4 corruption problem) Andreas
2004-08-31 12:30   ` Vladimir Saveliev
2004-08-31 12:37     ` Michael Weissenbacher
2004-08-31 14:03     ` Andreas
2004-08-31 14:43       ` Vladimir Saveliev
2004-08-31 15:04         ` Michael Weissenbacher
  -- strict thread matches above, loose matches on Subject: below --
2004-08-31 16:18 David Dabbs
2004-08-31 16:32 ` Michael Weissenbacher
2004-08-31  1:10 David Dabbs
2004-08-30 21:07 David Dabbs
2004-08-31  0:02 ` Michael Weissenbacher
2004-08-26 23:15 reiser4 corruption problem (maybe related to "Broken reiser4 FS") Michael Weissenbacher
2004-08-28 21:49 ` fsck.reiser4 problem (was: reiser4 corruption problem) Michael Weissenbacher
2004-08-29  6:54   ` Adrian Ulrich

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=41343C53.3080507@dermichi.com \
    --to=webmaster@dermichi.com \
    --cc=david@dabbs.net \
    --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.