You are not logged in.
Pages: 1
hello Guys. My disk is damaged. the partition we are talking about it reiserfs. do you know a program that could try to recover the partition?
Thank you
[root@myhost steevi]# mount /dev/sdb1 /mnt/Usb-storage/
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@myhost steevi]# dmesg | tail
eth0: no IPv6 routers present
NET: Registered protocol family 4
NET: Registered protocol family 5
ReiserFS: sdb1: found reiserfs format "3.6" with standard journal
ReiserFS: sdb1: using ordered data mode
ReiserFS: sdb1: journal params: device sdb1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sdb1: checking transaction log (sdb1)
ReiserFS: warning: is_tree_node: node level 4 does not match to the expected one 47872
ReiserFS: sdb1: warning: vs-5150: search_by_key: invalid format found in block 23517966. Fsck?
ReiserFS: sdb1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
[root@myhost steevi]# fsck /dev/sdb1
fsck 1.40.2 (12-Jul-2007)
reiserfsck 3.6.20
Copyright (C) 2001-2005 by Hans Reiser, licensing governed by reiserfsprogs/COPYING.
*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** 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. **
*************************************************************
Will read-only check consistency of the filesystem on /dev/sdb1
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
reiserfs_hash_func: wrong hash code 113410.
Using default "r5" hash function
###########
reiserfsck --check started at Sun Aug 5 01:25:53 2007
###########
Replaying journal..
Reiserfs journal '/dev/sdb1' in blocks [18..8211]: 0 transactions replayed
reiserfs_bitmap_open: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap
[root@myhost steevi]# fsck --rebuild-sb /dev/sdb1
fsck 1.40.2 (12-Jul-2007)
fsck.ext3: invalid option -- e
Usage: fsck.ext3 [-panyrcdfvstDFSV] [-b superblock] [-B blocksize]
[-I inode_buffer_blocks] [-P process_inode_size]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] device
Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list
Offline
Ok guys. Solved the problem. i ran reiserfsck --rebuild-sb /dev/sdb1 and then reiserfsck --rebuild-tre /dev/sdb1 and now everything is working perfect
Offline
Pages: 1