* --rebuild-tree crashes
@ 2004-03-14 22:03 Franz Mueller
2004-03-15 11:35 ` Vitaly Fertman
2004-03-16 10:19 ` Vitaly Fertman
0 siblings, 2 replies; 3+ messages in thread
From: Franz Mueller @ 2004-03-14 22:03 UTC (permalink / raw)
To: reiserfs-list
Hello reiserfs-Mailinglist,
the latest version of reiserfsck (3.6.13) doesn't help to solve my
problem. I am using SuSE 9.0 with kernel 2.4.21. When I run
reiserfsck --rebuild-tree -S /dev/hdb4
I get the following error message:
Will rebuild the filesystem (/dev/hdb4) tree
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you
do):Yes
Replaying journal..
0 transactions replayed
###########
reiserfsck --rebuild-tree started at Sun Mar 14 22:55:09 2004
###########
Pass 0:
####### Pass 0 #######
The whole partition (7689110 blocks) is to be scanned
Skipping 8445 blocks (super block, journal, bitmaps) 7680665 blocks will
be read
0%....20%.block 2008259: The number of items (270) is incorrect, should
be (169) - corrected
block 2008259: The free space (0) is incorrect, should be (16) - corrected
pass0: vpf-10110: block 2008259, item (0): Unknown item type found
[17235969 0 0xb7c1000 ??? (15)] - deleted
lbalance.c 1019 leaf_delete_items_entirely
leaf_delete_items_entirely: bad leaf 2008259: level=1, nr_items=168,
free_space=40 rdkey
Abgebrochen
Is there anything else that can be done?
Franz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: --rebuild-tree crashes
2004-03-14 22:03 --rebuild-tree crashes Franz Mueller
@ 2004-03-15 11:35 ` Vitaly Fertman
2004-03-16 10:19 ` Vitaly Fertman
1 sibling, 0 replies; 3+ messages in thread
From: Vitaly Fertman @ 2004-03-15 11:35 UTC (permalink / raw)
To: Franz Mueller, reiserfs-list
On Monday 15 March 2004 01:03, Franz Mueller wrote:
> Hello reiserfs-Mailinglist,
Hello,
> the latest version of reiserfsck (3.6.13) doesn't help to solve my
> problem. I am using SuSE 9.0 with kernel 2.4.21. When I run
>
> reiserfsck --rebuild-tree -S /dev/hdb4
>
> I get the following error message:
>
> Will rebuild the filesystem (/dev/hdb4) tree
> Will put log info to 'stdout'
>
> Do you want to run this program?[N/Yes] (note need to type Yes if you
> do):Yes
> Replaying journal..
> 0 transactions replayed
> ###########
> reiserfsck --rebuild-tree started at Sun Mar 14 22:55:09 2004
> ###########
>
> Pass 0:
> ####### Pass 0 #######
> The whole partition (7689110 blocks) is to be scanned
> Skipping 8445 blocks (super block, journal, bitmaps) 7680665 blocks will
> be read
> 0%....20%.block 2008259: The number of items (270) is incorrect, should
> be (169) - corrected
> block 2008259: The free space (0) is incorrect, should be (16) - corrected
> pass0: vpf-10110: block 2008259, item (0): Unknown item type found
> [17235969 0 0xb7c1000 ??? (15)] - deleted
> lbalance.c 1019 leaf_delete_items_entirely
> leaf_delete_items_entirely: bad leaf 2008259: level=1, nr_items=168,
> free_space=40 rdkey
> Abgebrochen
>
> Is there anything else that can be done?
Would you pack the fs metadata with
debugreiserfs -p -S /dev/hdb4 | bzip2 -c > hdb4.bz2
and allow us to download it? I would investigate the
problem locally then.
--
Thanks,
Vitaly Fertman
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: --rebuild-tree crashes
2004-03-14 22:03 --rebuild-tree crashes Franz Mueller
2004-03-15 11:35 ` Vitaly Fertman
@ 2004-03-16 10:19 ` Vitaly Fertman
1 sibling, 0 replies; 3+ messages in thread
From: Vitaly Fertman @ 2004-03-16 10:19 UTC (permalink / raw)
To: Franz Mueller, reiserfs-list
[-- Attachment #1: Type: text/plain, Size: 1414 bytes --]
Hello Franz,
the reiserfsprogs patch attached should cure for your problem.
Email me please about the result.
--
Thanks,
Vitaly Fertman
On Monday 15 March 2004 01:03, Franz Mueller wrote:
> Hello reiserfs-Mailinglist,
>
> the latest version of reiserfsck (3.6.13) doesn't help to solve my
> problem. I am using SuSE 9.0 with kernel 2.4.21. When I run
>
> reiserfsck --rebuild-tree -S /dev/hdb4
>
> I get the following error message:
>
> Will rebuild the filesystem (/dev/hdb4) tree
> Will put log info to 'stdout'
>
> Do you want to run this program?[N/Yes] (note need to type Yes if you
> do):Yes
> Replaying journal..
> 0 transactions replayed
> ###########
> reiserfsck --rebuild-tree started at Sun Mar 14 22:55:09 2004
> ###########
>
> Pass 0:
> ####### Pass 0 #######
> The whole partition (7689110 blocks) is to be scanned
> Skipping 8445 blocks (super block, journal, bitmaps) 7680665 blocks will
> be read
> 0%....20%.block 2008259: The number of items (270) is incorrect, should
> be (169) - corrected
> block 2008259: The free space (0) is incorrect, should be (16) - corrected
> pass0: vpf-10110: block 2008259, item (0): Unknown item type found
> [17235969 0 0xb7c1000 ??? (15)] - deleted
> lbalance.c 1019 leaf_delete_items_entirely
> leaf_delete_items_entirely: bad leaf 2008259: level=1, nr_items=168,
> free_space=40 rdkey
> Abgebrochen
>
> Is there anything else that can be done?
>
> Franz
[-- Attachment #2: fsck_lbalance.patch --]
[-- Type: text/x-diff, Size: 935 bytes --]
===== reiserfscore/lbalance.c 1.11 vs edited =====
--- 1.11/reiserfsprogs/reiserfscore/lbalance.c Mon Jan 26 15:08:41 2004
+++ edited/reiserfscore/lbalance.c Tue Mar 16 13:14:44 2004
@@ -949,7 +949,8 @@
set_dc_child_size (dc, get_dc_child_size (dc) - cut_size);
mark_buffer_dirty(bi->bi_parent);
}
- if (is_a_leaf(bh->b_data, bh->b_size) != THE_LEAF)
+ if (is_a_leaf(bh->b_data, bh->b_size) != THE_LEAF &&
+ is_a_leaf(bh->b_data, bh->b_size) != HAS_IH_ARRAY)
reiserfs_panic ("leaf_cut_from_buffer: bad leaf %lu: %b",
bh->b_blocknr, bh);
}
@@ -1015,7 +1016,8 @@
(j - last_removed_loc + IH_SIZE * del_num));
mark_buffer_dirty(bi->bi_parent);
}
- if (is_a_leaf(bh->b_data, bh->b_size) != THE_LEAF)
+ if (is_a_leaf(bh->b_data, bh->b_size) != THE_LEAF &&
+ is_a_leaf(bh->b_data, bh->b_size) != HAS_IH_ARRAY)
reiserfs_panic ("leaf_delete_items_entirely: bad leaf %lu: %b", bh->b_blocknr, bh);
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-16 10:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-14 22:03 --rebuild-tree crashes Franz Mueller
2004-03-15 11:35 ` Vitaly Fertman
2004-03-16 10:19 ` Vitaly Fertman
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.