Skip to contentSkip to conversation

Trouble with reiserfs.

DISCUSSION Jonson Player 2 participants 3 messages Sep 30, 2005 – Oct 1, 2005 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,
i just made an img copy with dd_rescue from a broken software raid system (mirror style). I obtained an img from one of hard drive and i wanted to check this img with reiserfs tool, but he told me the following message:

#reiserfsck ./ISO1.img --rebuild-tree

reiserfsck 3.6.18 (2003 www.namesys.com <http://www.namesys.com>)

*************************************************************
** Do not run the program with --rebuild-tree unless ** ** something is broken and MAKE A BACKUP before using it. ** ** If you have bad sectors on a drive it is usually a bad ** ** idea to continue using it. Then you probably should get ** ** a working hard drive, copy the file system from the bad ** ** drive to the good one -- dd_rescue is a good tool for ** ** that -- and only then run this program. **
** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to [email protected], ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html<http://www.namesys.com/support.html>. **
*************************************************************

Will rebuild the filesystem (./ISO1.img) 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..
Reiserfs journal './ISO1.img' in blocks [18..8211]: 0 transactions replayed
###########
reiserfsck --rebuild-tree started at Fri Sep 30 23:35:09 2005
###########

Pass 0:
####### Pass 0 #######
Loading on-disk bitmap .. ok, 4662095 blocks marked used Skipping 8353 blocks (super block, journal, bitmaps) 4653742 blocks will be read
0%....20%....40%....60%...block 3387084: The free space (259) is incorrect, should be (4072) - corrected
.80%....100% left 0, 10747 /sec
320888 directory entries were hashed with "r5" hash.
"r5" hash is selected
Flushing..finished
Read blocks (but not data blocks) 4653742
Leaves among those 1870645
- leaves all contents of which could not be saved and deleted 1 Objectids found 317925

Pass 1 (will try to insert 1870644 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finishedLooking for allocable blocks .. finished
0%....20%....40%....60%....80%....100% left 0, 5755 /sec Flushing..finished
1870644 leaves read
82000 inserted
1788644 not inserted
####### Pass 2 #######

Pass 2:
0%Not enough allocable blocks, checking bitmap...there are 0 allocable blocks, btw

out of disk space
Aborted

Another set of observations:

# debugreiserfs -d ./ISO1.img
debugreiserfs 3.6.18 (2003 www.namesys.com <http://www.namesys.com>)

Filesystem state: consistency is not checked after last mounting

Reiserfs super block in block 16 on 0x0 of format 3.6 with standard journal Count of blocks on the device: 4662096
Number of bitmaps: 143
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 4662096
Root block: 0
Filesystem is NOT clean
Tree height: 65535
Hash function used to sort names: "r5"
Objectid map size 252, max 972
Journal parameters:
Device [0x0]
Magic [0x7209dda7]
Size 8193 blocks (including 1 for journal header) (first block 18) Max transaction length 1024 blocks
Max batch size 900 blocks
Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0xfa02:
FATAL corruptions exist.
sb_version: 2
inode generation number: 222595
UUID: 676801db-67b0-4032-a264-4aeaa7036e8d
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN
65534 expected, 18667 found in 0
Block 0 contains unformatted data
print_disk_tree: bad block type (level=18667, nr_items=144, free_space=0 rdkey)
The internal reiserfs tree has:
0 internal + 0 leaves + 0 unformatted nodes = 0 blocks

Any ideea to help me?
Thank you very much.

Jonson.

#1 lore raw
Quoted 9 lines · Jonson Player

i just made an img copy with dd_rescue from a broken software raid system
(mirror style). I obtained an img from one of hard drive and i wanted to check this img with reiserfs tool, but he told me the following message:

0%Not enough allocable blocks, checking bitmap...there are 0 allocable
blocks, btw

out of disk space
Aborted

Are you checking from a read-write medium (HD) or are you checking an image on e.g. a read-only medium such as a CD/DVD? Also, is the image bigger than the original partition, or exactly the same size, or smaller (and same for FS size compared to image size).

--
~Mike
- Just my two cents
- No man is an island, and no man is unable.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Where is the image located?

Also, reiserfs 3 or resier4?

Quoted 4 lines · Jonson Player

Hello Mike,
is a file image (e.g. hard1.img) and is exactly equal size like broken hard drive aprox. 20GB, and also is same FS (reiserfs).

Quoted 28 lines

Thank you.

Quoted 2 lines · michael chang
Quoted 1 line · Jonson Player

i just made an img copy with dd_rescue from a broken software raid

system

Quoted 19 lines
Quoted 8 lines

(mirror style). I obtained an img from one of hard drive and i wanted to check this img with reiserfs tool, but he told me the following message:

0%Not enough allocable blocks, checking bitmap...there are 0 allocable
blocks, btw

out of disk space
Aborted

Are you checking from a read-write medium (HD) or are you checking an image on e.g. a read-only medium such as a CD/DVD? Also, is the image bigger than the original partition, or exactly the same size, or smaller (and same for FS size compared to image size).

--
~Mike
- Just my two cents
- No man is an island, and no man is unable.

--
~Mike
- Just my two cents
- No man is an island, and no man is unable.