Skip to contentSkip to conversation

reiserfsck hangs (reiser3)

DISCUSSION Michael P. Cosby 2 participants 3 messages Feb 7, 2005 – Feb 8, 2005

lore
Share & tools
lore
#0 lore raw

Short description:
reiserfsck --rebuild-tree hangs for over 24 hours while attempting to repair
my filesystem. This happens no matter how many times I run reiserfsck v3.6.19

Environment:
linux 2.6.10 (debian)
reiserfsck v3.6.19
resize_reiserfs v3.6.19
LVM (v2.6 style)

long description:
I had 3 200GB drives joined together into a single partition via LVM, with
reiserfs on top of that. At the time I was using kernel 2.6.8.1. Timeline:

First day
-----
* one drive in the LVM began giving me bad sector errors
* bought a new drive to replace it that was 3GB smaller
* attempted to resize the reiser fs, which failed due to bad sectors
* bought a different new drive, used LVM (pvmove) to move the data from the failing drive to the new one
* verified the disk I took out was bad, got an RMA and shipped it back
* ran reiserfsck, which completed and gave me the "use --rebuild-tree option"
* ran reiserfsck with rebuild-tree, got bad sector errors from another drive (I've since decided my problem was overheating).

A few days later (and then some)
-----
* got another drive to replace the second failing drive, used LVM (pvmove) to copy the data from the failing drive to the new one
* ran reiserfsck --rebuild-tree
* about 45% of the way through pass 2, reiserfsck hangs. Random samples show it using between 40 and 70% of processor time, giving me the impression it's not really hung (I expect a program that's actually hung to use either 0% of 100% cpu time). So I left it for about 6 hours, stopped it and tried again. This time I tried it with the -S switch and it hung, but in a different spot. At that point I upgraded to linux 2.6.10. I tried it again and left it for 12 hours before I had to reboot (to take the bad drive out). I ran it a fourth time, added the -z option, and waited a full 24 hours, after which I've come to the conclusion that it really is hung.

I've attached the logfile from the last run. If you need any more
information or need me to run tests, please let me know. I can send you any portion of the disk that you need (the data on it is not particularly sensitive) but of course it's hard to send the full 600GB worth of raw data :)

Thank you very much for any help you can provide.

- Michael

####### Pass 0 #######
pass0: vpf-10160: block 14863393: item 1: No "." entry found in the first item of a directory
pass0: vpf-10160: block 14863403: item 1: No "." entry found in the first item of a directory
pass0: vpf-10170: block 14863407: item 1: Wrong order of items - the item

	31701 31703 0x203001 IND (1), len 1628, location 2424 entry count 0, fsck need 1, format new fixed to 
	31701 31703 0x1 IND (1), len 1628, location 2424 entry count 0, fsck need 1, format new

pass0: vpf-10160: block 14863423: item 3: No "." entry found in the first item of a directory
pass0: vpf-10160: block 14863435: item 1: No "." entry found in the first item of a directory
pass0: vpf-10160: block 14863436: item 1: No "." entry found in the first item of a directory
pass0: vpf-10160: block 14863438: item 2: No "." entry found in the first item of a directory
pass0: vpf-10160: block 14863440: item 3: No "." entry found in the first item of a directory
pass0: vpf-10170: block 14863491: item 3: Wrong order of items - the item

	59198 59199 0x292001 IND (1), len 3176, location 548 entry count 0, fsck need 1, format new fixed to 
	59198 59199 0x1 IND (1), len 3176, location 548 entry count 0, fsck need 1, format new

block 28350112: The number of items (3) is incorrect, should be (0) - corrected
block 28350112: The free space (0) is incorrect, should be (4072) - corrected
block 28409857: The number of items (5) is incorrect, should be (1) - corrected
block 28409857: The free space (4) is incorrect, should be (3600) - corrected
pass0: vpf-10110: block 28409857, item (0): Unknown item type found [355 6768 0x1000000c6600b ??? (13)] - deleted
block 28442817: The number of items (3) is incorrect, should be (1) - corrected
block 28442817: The free space (0) is incorrect, should be (2008) - corrected
pass0: vpf-10200: block 28442817, item 0: The item [355 6836 0xfd4201 IND (1)] with wrong offset is deleted
block 28483110: The number of items (3) is incorrect, should be (0) - corrected
block 28483110: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10200: block 28556563, item 0: The item [2360304 989865491 0x26117081 IND (1)] with wrong offset is deleted
pass0: vpf-10200: block 28640421, item 0: The item [41968 10401 0x8475801 IND (1)] with wrong offset is deleted
block 28750929: The number of items (8193) is incorrect, should be (1) - corrected
pass0: vpf-10110: block 28750929, item (0): Unknown item type found [9200 33564835 0x1a000006b1510ab ??? (5)] - deleted
block 28760058: The number of items (1) is incorrect, should be (0) - corrected
block 28760058: The free space (0) is incorrect, should be (4072) - corrected
block 28763101: The number of items (1) is incorrect, should be (0) - corrected
block 28763101: The free space (0) is incorrect, should be (4072) - corrected
block 28794525: The free space (16) is incorrect, should be (0) - corrected
pass0: vpf-10110: block 28794525, item (0): Unknown item type found [9200 30881 0x100002d955011 ??? (13)] - deleted
verify_directory_item: block 28810763, item 9201 201328809 0x9004033895001 DIR (3), len 4048, location 48 entry count 14, fsck need 1, format new: All entries were deleted from the directory
pass0: vpf-10200: block 28822935, item 0: The item [9200 10401 0x34d05011 IND (1)] with wrong offset is deleted
block 28848272: The number of items (1) is incorrect, should be (0) - corrected
block 28848272: The free space (0) is incorrect, should be (4072) - corrected
block 28887221: The number of items (1) is incorrect, should be (0) - corrected
block 28887221: The free space (0) is incorrect, should be (4072) - corrected
block 28918645: The number of items (1) is incorrect, should be (0) - corrected
block 28918645: The free space (0) is incorrect, should be (4072) - corrected
block 28950068: The number of items (16385) is incorrect, should be (1) - corrected
block 28950068: The free space (36992) is incorrect, should be (0) - corrected
pass0: vpf-10200: block 28950068, item 0: The item [67134324 10501 0x858e5a080 IND (1)] with wrong offset is deleted
block 28956154: The free space (16413) is incorrect, should be (0) - corrected
pass0: vpf-10230: block 28956154, item 0: The item offset is is too big [2852266992 167804161 0x8800000125c6001 IND (1)] - deleted
pass0: vpf-10200: block 29015988, item 0: The item [9200 1073900801 0x88030f0a003 IND (1)] with wrong offset is deleted
pass0: vpf-10200: block 29065217, item 0: The item [9200 26882 0x57ae221 IND (1)] with wrong offset is deleted
block 29104170: The number of items (1) is incorrect, should be (0) - corrected
block 29104170: The free space (0) is incorrect, should be (4072) - corrected
block 29192352: The free space (112) is incorrect, should be (0) - corrected
pass0: vpf-10200: block 29192352, item 0: The item [536945620 2147494146 0x8824faf201 IND (1)] with wrong offset is deleted
block 29295749: The number of items (1) is incorrect, should be (0) - corrected
block 29295749: The free space (0) is incorrect, should be (4072) - corrected
block 29318011: The number of items (16900) is incorrect, should be (1) - corrected
block 29318011: The free space (16464) is incorrect, should be (0) - corrected
pass0: vpf-10200: block 29318011, item 0: The item [13296 83897482 0x921de041 IND (1)] with wrong offset is deleted
block 29392897: The number of items (1) is incorrect, should be (0) - corrected
block 29392897: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10230: block 29392898, item 0: The item offset is is too big [140272 11398 0x2000001dbaa001 IND (1)] - deleted
block 29392899: The free space (2048) is incorrect, should be (0) - corrected
pass0: vpf-10200: block 29392899, item 0: The item [981 1879598218 0x1dd9e101 IND (1)] with wrong offset is deleted
block 30090174: The number of items (1) is incorrect, should be (0) - corrected
block 30090174: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10110: block 30115512, item (0): Unknown item type found [13324 13317 0x2000000078d5001 ??? (11)] - deleted
block 30205309: The number of items (1) is incorrect, should be (0) - corrected
block 30205309: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10200: block 30247366, item 0: The item [13324 13325 0x1dddd009 IND (1)] with wrong offset is deleted
block 30594326: The number of items (1) is incorrect, should be (0) - corrected
block 30594326: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10230: block 30625722, item 0: The item offset is is too big [4948 6322 0x100001147ef001 IND (1)] - deleted
block 30685501: The number of items (17) is incorrect, should be (1) - corrected
block 30685501: The free space (2048) is incorrect, should be (0) - corrected
pass0: vpf-10200: block 30685501, item 0: The item [2104177 268441778 0x2b12b801 IND (1)] with wrong offset is deleted
pass0: vpf-10200: block 30703617, item 0: The item [2645 30898 0x26c77005 IND (1)] with wrong offset is deleted
block 30719937: The number of items (4097) is incorrect, should be (1) - corrected
block 30719937: The free space (5) is incorrect, should be (0) - corrected
pass0: vpf-10200: block 30719937, item 0: The item [318292 528562 0xc00402bd13201 IND (1)] with wrong offset is deleted
block 30736385: The number of items (1) is incorrect, should be (0) - corrected
block 30736385: The free space (0) is incorrect, should be (4072) - corrected
block 30751340: The number of items (1) is incorrect, should be (0) - corrected
block 30751340: The free space (0) is incorrect, should be (4072) - corrected
block 30763496: The number of items (1) is incorrect, should be (0) - corrected
block 30763496: The free space (0) is incorrect, should be (4072) - corrected
block 30820203: The number of items (529) is incorrect, should be (1) - corrected
block 30820203: The free space (80) is incorrect, should be (0) - corrected
pass0: vpf-10110: block 30820203, item (0): Unknown item type found [8390741 6361 0x1800007ed8001 ??? (9)] - deleted
block 30826290: The number of items (257) is incorrect, should be (1) - corrected
block 30826290: The free space (1056) is incorrect, should be (0) - corrected
pass0: vpf-10200: block 30826290, item 0: The item [679616372 2628057 0xc00056900c9 IND (1)] with wrong offset is deleted
block 30883010: The number of items (1) is incorrect, should be (0) - corrected
block 30883010: The free space (0) is incorrect, should be (4072) - corrected
block 30926569: The number of items (1) is incorrect, should be (0) - corrected
block 30926569: The free space (0) is incorrect, should be (4072) - corrected
block 30980236: The number of items (1) is incorrect, should be (0) - corrected
block 30980236: The free space (0) is incorrect, should be (4072) - corrected
block 30989348: The free space (128) is incorrect, should be (1024) - corrected
pass0: vpf-10200: block 30989348, item 0: The item [2684361557 1054969 0x30000000d304008 IND (1)] with wrong offset is deleted
pass0: vpf-10200: block 30992377, item 0: The item [6997 6361 0x40000002dee0439 IND (1)] with wrong offset is deleted
pass0: vpf-10110: block 31249681, item (0): Unknown item type found [6997 7020 0x2caf9000 ??? (5)] - deleted
pass0: vpf-10200: block 31309447, item 0: The item [6997 7014 0x3b41d201 IND (1)] with wrong offset is deleted
block 31321594: The number of items (1) is incorrect, should be (0) - corrected
block 31321594: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10200: block 31343861, item 0: The item [6997 7023 0x3a6e801 IND (1)] with wrong offset is deleted
block 31349937: The number of items (1) is incorrect, should be (0) - corrected
block 31349937: The free space (0) is incorrect, should be (4072) - corrected
block 31372234: The number of items (1) is incorrect, should be (0) - corrected
block 31372234: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10200: block 31391745, item 0: The item [6997 531311 0x10ec50008 IND (1)] with wrong offset is deleted
pass0: vpf-10200: block 31412743, item 0: The item [2147490645 7023 0x473e401 IND (1)] with wrong offset is deleted
block 31667017: The number of items (3) is incorrect, should be (0) - corrected
block 31667017: The free space (0) is incorrect, should be (4072) - corrected
block 31700083: The number of items (1) is incorrect, should be (0) - corrected
block 31700083: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10200: block 31720865, item 0: The item [6997 7023 0x1e55e005 IND (1)] with wrong offset is deleted
block 31757992: The number of items (1) is incorrect, should be (0) - corrected
block 31757992: The free space (0) is incorrect, should be (4072) - corrected
block 31805500: The number of items (5) is incorrect, should be (1) - corrected
pass0: vpf-10200: block 31805500, item 0: The item [9200 2164281708 0x1d6cb041 IND (1)] with wrong offset is deleted
pass0: vpf-10160: block 32014364: item 3: No "." entry found in the first item of a directory
pass0: vpf-10200: block 32190892, item 0: The item [6997 7023 0x39c2a019 IND (1)] with wrong offset is deleted
block 32196706: The number of items (1) is incorrect, should be (0) - corrected
block 32196706: The free space (0) is incorrect, should be (4072) - corrected
block 32280473: The number of items (1) is incorrect, should be (0) - corrected
block 32280473: The free space (0) is incorrect, should be (4072) - corrected
pass0: vpf-10230: block 32309326, item 0: The item offset is is too big [6700 29359 0x1000000003cb001 IND (1)] - deleted
block 32326620: The number of items (9) is incorrect, should be (1) - corrected
pass0: vpf-10230: block 32326620, item 0: The item offset is is too big [7761 134224752 0x901000107c3001 IND (1)] - deleted
pass0: vpf-10200: block 32394456, item 0: The item [1078074197 3758103408 0x541bba3080 IND (1)] with wrong offset is deleted
pass0: vpf-10110: block 33066763, item (0): Unknown item type found [22786 31480 0x10020000040001 ??? (5)] - deleted
block 33114363: The number of items (16385) is incorrect, should be (1) - corrected
block 33114363: The free space (0) is incorrect, should be (2300) - corrected
pass0: vpf-10200: block 33114363, item 0: The item [72147 163241 0x28000009016d081 IND (1)] with wrong offset is deleted

#1 lore raw
Quoted 43 lines · Michael P. Cosby

Short description:
reiserfsck --rebuild-tree hangs for over 24 hours while attempting to
repair my filesystem. This happens no matter how many times I run reiserfsck v3.6.19

Environment:
linux 2.6.10 (debian)
reiserfsck v3.6.19
resize_reiserfs v3.6.19
LVM (v2.6 style)

long description:
I had 3 200GB drives joined together into a single partition via LVM,
with reiserfs on top of that. At the time I was using kernel 2.6.8.1. Timeline:

First day
-----
* one drive in the LVM began giving me bad sector errors
* bought a new drive to replace it that was 3GB smaller
* attempted to resize the reiser fs, which failed due to bad sectors
* bought a different new drive, used LVM (pvmove) to move the data from the failing drive to the new one
* verified the disk I took out was bad, got an RMA and shipped it back
* ran reiserfsck, which completed and gave me the "use --rebuild-tree option" * ran reiserfsck with rebuild-tree, got bad sector errors from another drive (I've since decided my problem was overheating).

A few days later (and then some)
-----
* got another drive to replace the second failing drive, used LVM (pvmove) to copy the data from the failing drive to the new one
* ran reiserfsck --rebuild-tree
* about 45% of the way through pass 2, reiserfsck hangs. Random samples show it using between 40 and 70% of processor time, giving me the impression it's not really hung (I expect a program that's actually hung to use either 0% of 100% cpu time). So I left it for about 6 hours, stopped it and tried again. This time I tried it with the -S switch and it hung, but in a different spot. At that point I upgraded to linux 2.6.10. I tried it again and left it for 12 hours before I had to reboot (to take the bad drive out). I ran it a fourth time, added the -z option, and waited a full 24 hours, after which I've come to the conclusion that it really is hung.

Quoted 7 lines

I've attached the logfile from the last run. If you need any more
information or need me to run tests, please let me know. I can send you any portion of the disk that you need (the data on it is not particularly sensitive) but of course it's hard to send the full 600GB worth of raw data :)

Thank you very much for any help you can provide.

let's try to pack the fs metadata with:
debugreiserfs -p <device> | bzip2 -c > <device>-meta.bz2
they probably will be not so large for downloading.

Signature · 2 lines
Thanks,
Vitaly Fertman
#2 lore raw
	Ok, done.

	http://www.crosscode.org/~michael/reiser/dev_media_all-meta.bz2

	Only 12MB :)

Thanks
- Michael

Quoted 61 lines · Vitaly Fertman
Quoted 43 lines · Michael P. Cosby

Short description:
reiserfsck --rebuild-tree hangs for over 24 hours while attempting to
repair my filesystem. This happens no matter how many times I run reiserfsck v3.6.19

Environment:
linux 2.6.10 (debian)
reiserfsck v3.6.19
resize_reiserfs v3.6.19
LVM (v2.6 style)

long description:
I had 3 200GB drives joined together into a single partition via LVM,
with reiserfs on top of that. At the time I was using kernel 2.6.8.1. Timeline:

First day
-----
* one drive in the LVM began giving me bad sector errors
* bought a new drive to replace it that was 3GB smaller
* attempted to resize the reiser fs, which failed due to bad sectors
* bought a different new drive, used LVM (pvmove) to move the data from the failing drive to the new one
* verified the disk I took out was bad, got an RMA and shipped it back
* ran reiserfsck, which completed and gave me the "use --rebuild-tree option" * ran reiserfsck with rebuild-tree, got bad sector errors from another drive (I've since decided my problem was overheating).

A few days later (and then some)
-----
* got another drive to replace the second failing drive, used LVM (pvmove) to copy the data from the failing drive to the new one
* ran reiserfsck --rebuild-tree
* about 45% of the way through pass 2, reiserfsck hangs. Random samples show it using between 40 and 70% of processor time, giving me the impression it's not really hung (I expect a program that's actually hung to use either 0% of 100% cpu time). So I left it for about 6 hours, stopped it and tried again. This time I tried it with the -S switch and it hung, but in a different spot. At that point I upgraded to linux 2.6.10. I tried it again and left it for 12 hours before I had to reboot (to take the bad drive out). I ran it a fourth time, added the -z option, and waited a full 24 hours, after which I've come to the conclusion that it really is hung.

Quoted 7 lines

I've attached the logfile from the last run. If you need any more
information or need me to run tests, please let me know. I can send you any portion of the disk that you need (the data on it is not particularly sensitive) but of course it's hard to send the full 600GB worth of raw data :)

Thank you very much for any help you can provide.

let's try to pack the fs metadata with:
debugreiserfs -p <device> | bzip2 -c > <device>-meta.bz2
they probably will be not so large for downloading.

Signature · 2 lines
Thanks,
Vitaly Fertman