Skip to contentSkip to conversation

Bug in reiserfsck 3.6.1-pre1

DISCUSSION Unknown 4 participants 9 messages Sep 16, 2002

lore
Share & tools
lore

Unknown

author
#0 lore raw

Pass 2:

# reiserfsck --rebuild-tree -S /dev/md0

...
0%..rewrite_file: 2 items of file [97373 97385] moved to [97373 1591], 207 /sec
..20%....40%..vpf-10260: The file we are inserting the new item (89 280 0x120001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (89 280 0x514001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (89 280 0x908001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2035 3072665 0x10b001 IND (1), len 1060, location 3036 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2035 3072665 0x10b001 IND (1), len 1060, location 3036 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
ufile.c 171 delete_N_items_after_key
delete_N_items_after_key: No directory item of [32340 32341] are expected Aborted

I needed the rebuid because I had a multiple RAID disk death.

I restarted the check; if it dies again I'll append a core dump.

Signature · 1 line
Matthias Urlichs     |     noris network AG     |     http://smurf.noris.de/
#1 lore raw
Quoted 26 lines · On 09/16/2002 02:56 AM, reiserfs-list-return-11456-manuel.krause=mb.tu-ilmenau.…

Pass 2:

# reiserfsck --rebuild-tree -S /dev/md0

...
0%..rewrite_file: 2 items of file [97373 97385] moved to [97373 1591], 207 /sec
..20%....40%..vpf-10260: The file we are inserting the new item (89 280 0x120001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (89 280 0x514001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (89 280 0x908001 IND (1), len 4048, location 48 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2035 3072665 0x10b001 IND (1), len 1060, location 3036 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
vpf-10260: The file we are inserting the new item (2035 3072665 0x10b001 IND (1), len 1060, location 3036 entry count 0, fsck need 0, format new) into has not StatData, insertion was skipped
ufile.c 171 delete_N_items_after_key
delete_N_items_after_key: No directory item of [32340 32341] are expected Aborted

Quoted 4 lines

I needed the rebuid because I had a multiple RAID disk death.

I restarted the check; if it dies again I'll append a core dump.

Can you, please, retry with the latest release of reiserfs-progs

ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.3.tar.gz

or the latest beta

ftp://ftp.namesys.com/pub/reiserfsprogs/pre/reiserfsprogs-3.6.4-pre1.tar.gz

and repost your results.

Thanks,

Manuel

! The first message refers to my personal related return-path in the ! headers officially, I'm not the sender or author of the original ! message. I'll send a different mail to [email protected] as this is a ! definite error. If this is a user error or a problem with my ! browser/mail-app I want a definite hint. And I want the person that ! wrote that first mail to immediately stop writing under my ! return-path!

#2 lore raw

Hi,

Manuel Krause:

Quoted 2 lines

Can you, please, retry with the latest release of reiserfs-progs

Sorry -- mistyped the release number:

Quoted 3 lines

or the latest beta ftp://ftp.namesys.com/pub/reiserfsprogs/pre/reiserfsprogs-3.6.4-pre1.tar.gz

This was the version which I used.

Signature · 1 line
Matthias Urlichs     |     noris network AG     |     http://smurf.noris.de/
#3 lore raw
In reply to Unknown

Hello!

Quoted 3 lines · On Mon, Sep 16, 2002 at 02:56:55AM +0200…

delete_N_items_after_key: No directory item of [32340 32341] are expected Aborted
I needed the rebuid because I had a multiple RAID disk death.

We are interested in metadata from that volume if possible. Please run debugreiserfs -p /dev/md0 | gzip -9c >/somewhere/metadata_md0.gz

Then make this file available for us to download.

Thank you.

Bye,
Oleg

#4 lore raw

Hi,

Oleg Drokin:

Quoted 3 lines

We are interested in metadata from that volume if possible. Please run debugreiserfs -p /dev/md0 | gzip -9c >/somewhere/metadata_md0.gz

Will do, as soon as the save-state re-run from reiserfsck is done and if it still exhibits the problem. :-/

Quoted 2 lines

Then make this file available for us to download.

Warning: that'll be 100+ MBytes. Compressed. (The original RAID's almost half a terabyte.)

Signature · 1 line
Matthias Urlichs     |     noris network AG     |     http://smurf.noris.de/
#5 lore raw

Hello!

Quoted 3 lines · Matthias Urlichs
Quoted 1 line

Then make this file available for us to download.

Warning: that'll be 100+ MBytes. Compressed. (The original RAID's almost half a terabyte.)

I don't understand where's this number from.
Metadata size exceeds 40 Megabytes pretty rarely.
Yes, I have seen metadata snapshots from 800M filesystems for example.

Bye,
Oleg

#6 lore raw

Hi,

Oleg Drokin:

Quoted 4 lines
Quoted 2 lines

Warning: that'll be 100+ MBytes. Compressed. (The original RAID's almost half a terabyte.)

I don't understand where's this number from.

Don't ask me:

# ls -l /var/tmp/metadata_md0.gz 
-rw-r--r--    1 root     root     100532224 Sep 16 08:41 /var/loctmp/metadata_md0.gz
Quoted 1 line

Metadata size exceeds 40 Megabytes pretty rarely.

I have approx. a million files on that filesystem. Guess why I am using reiserfs in the first place? ;-)

Note that this file system has severely corrupted bitmaps (not to say everything else -- I basically had to restore every third 4-kByte block from a month-old copy. :-/ ).

Whether that matters for debugreiserfs's dump size is for you to say.

Signature · 1 line
Matthias Urlichs     |     noris network AG     |     http://smurf.noris.de/
#7 lore raw

Hello!

Quoted 6 lines · Matthias Urlichs
Quoted 3 lines
Quoted 2 lines

Warning: that'll be 100+ MBytes. Compressed. (The original RAID's almost half a terabyte.)

I don't understand where's this number from.

Don't ask me:

# ls -l /var/tmp/metadata_md0.gz 
-rw-r--r--    1 root     root     100532224 Sep 16 08:41 /var/loctmp/metadata_md0.gz

Oh.

Quoted 3 lines
Quoted 1 line

Metadata size exceeds 40 Megabytes pretty rarely.

I have approx. a million files on that filesystem. Guess why I am using reiserfs in the first place? ;-)

;)

Quoted 3 lines

Note that this file system has severely corrupted bitmaps (not to say everything else -- I basically had to restore every third 4-kByte block from a month-old copy. :-/ ).

If you took the snapshot after failed reiserfsck --rebuild-tree, that should be enough for us to reproduce, so please make metadata available for download please.

Thank you.

Bye,
Oleg

#8 lore raw

Hi,

Oleg Drokin:

Quoted 5 lines

If you took the snapshot after failed reiserfsck --rebuild-tree, that should be enough for us to reproduce, so please make metadata available for download please.

I had to stop the dump (system reboot, unlreated to my failed disk). My current plan is to run fsck with -d up to the point where it fails, then generate the dump data and make the results available.

It'll take a bit of time -- I also have to physically move the files from
behind my home ADSL line to the company's backbone server, otherwise you'll spend the whole week trying to download the dump files. :-/

At the moment fsck is doing this:
[...]
Pass 0 result loaded. 834934 leaves, 66434893/144 good/bad data blocks

Pass 1 (will try to insert 834934 leaves):
####### Pass 1 #######
Looking for allocable blocks .. fininshed
0%is_leaf_bad: block 16723L items 5 and 6: Wrong order of items:7161, 1295 /sec

        41402 41403 0x1 IND (1), len 496, location 500 entry count 0, fsck need 1, format new
        41402 41403 0x7c001 IND (1), len 304, location 196 entry count 65535, fsck need 1, format new

is_leaf_bad: WARNING: The leaf (16723) is formatted badly. Will be handled on the the pass2.
...

... which it'll be busy with during the next half-hour or so.

Signature · 1 line
Matthias Urlichs     |     noris network AG     |     http://smurf.noris.de/