Skip to contentSkip to conversation

access beyond end of device

DISCUSSION Kevin 3 participants 5 messages Jun 15, 2002 – Jun 16, 2002

lore
Share & tools
lore

Kevin

author
#0 lore raw

I checked the mailing list archive, and I didn't see any solutions. It also seemed the the similar problems happened after a crash, which is not so in my case. Recently I was trying to extract a file and I got read errors. I checked dmesg and found the following repeated:

attempt to access beyond end of device
38:01: rw=0, want=788705992, limit=58633312
attempt to access beyond end of device
38:01: rw=0, want=788705992, limit=58633312

Running reiserfsck --check gave me a bunch of things similar to this:
bad_indirect_item: block 16371: item 2014 2043 0x1 IND (1), len 1276, location 96 entry count 0, fsck need 0, format new has a pointer 131 to the block 9437328 which is in tree already
9437328 which is in tree already

It also found one broken file, and said that there was 1 corruption that required --rebuild-tree. I haven't done this yet because I'm a little worried it might die in the middle of the rebuild. Anyone have any idea what I should do?

I am running 2.4.18, and reiserfsprogs 3.x.1c-pre4.

#1 lore raw
Quoted 16 lines · Kevin

I checked the mailing list archive, and I didn't see any solutions. It also seemed the the similar problems happened after a crash, which is not so in my case. Recently I was trying to extract a file and I got read errors. I checked dmesg and found the following repeated:

attempt to access beyond end of device
38:01: rw=0, want=788705992, limit=58633312
attempt to access beyond end of device
38:01: rw=0, want=788705992, limit=58633312

Running reiserfsck --check gave me a bunch of things similar to this:
bad_indirect_item: block 16371: item 2014 2043 0x1 IND (1), len 1276, location 96 entry count 0, fsck need 0, format new has a pointer 131 to the block 9437328 which is in tree already
9437328 which is in tree already

Quoted 10 lines

It also found one broken file, and said that there was 1 corruption that required --rebuild-tree. I haven't done this yet because I'm a little worried it might die in the middle of the rebuild. Anyone have any idea what I should do?

I am running 2.4.18, and reiserfsprogs 3.x.1c-pre4.

Anyway you may backup your data and try to rebuild tree by fsck.

Quoted 2 lines
author
#2 lore raw

I'll give it a shot. So far I've only seen that one file generate the error, so hopefully I can just tiptoe over it and back everything else up. I'll let you know how it goes. Thanks.

Quoted 1 line

Anyway you may backup your data and try to rebuild tree by fsck.

#3 lore raw
Quoted 14 lines · Kevin

I'll give it a shot. So far I've only seen that one file generate the error, so hopefully I can just tiptoe over it and back everything else up. I'll let you know how it goes. Thanks.

Quoted 3 lines

Anyway you may backup your data and try to rebuild tree by fsck.

You might want to backup using ddrescue on the device.....

Signature · 1 line
Hans
author
#4 lore raw
In reply to Kevin
Quoted 5 lines

I'll give it a shot. So far I've only seen that one file generate the error, so hopefully I can just tiptoe over it and back everything else up. I'll let you know how it goes. Thanks.

Quoted 1 line

Anyway you may backup your data and try to rebuild tree by fsck.

I guess it worked? I no longer got the error when trying to access the original file, however it seems that part of the file got lopped off, as the md5sum changed. Everything else seems be working alright though. Thanks again.
---

reiserfsck --rebuild-tree started at Sat Jun 15 14:27:14 2002
###########

Pass 0:
Loading on-disk bitmap .. ok, 8092548 blocks marked used
Skipping 8658 blocks (super block, journal, bitmaps) 8083890 blocks will be read
0%....20%....40%....60%....80%....100% left 0, 579 /sec
"r5" hash is selected
Flushing..done
Read blocks (but not data blocks) 8083890
Leaves among those 8102
- corrected leaves 1
pointers in indirect items to wrong area 36 (zeroed) Objectids found 2066

Pass 1 (will try to insert 8102 leaves):
Looking for allocable blocks .. ok
0%....20%....40%....60%....80%....100% left 0, 352 /sec
Flushing..done
8102 leaves read
8102 inserted
non-unique pointers in indirect items (zeroed) 36
Flushing..done
Pass 3 (semantic):
Flushing..done
Files found: 1916
Directories found: 150
Broken (of files/symlinks/others): 1
Pass 3a (looking for lost dir/files):
Looking for lost directories:
Flushing..done done 1, 0 /sec
Pass 4 - done done 0, 0 /sec
Deleted unreachable items 4
Flushing..done
Syncing..done
###########
reiserfsck finished at Sat Jun 15 18:20:39 2002