gestern ist mir duch einen Stromausfall im Rechenzentrum in meinem Root sowohl meine Hauptplatte(bei der nur das Filesystem) als auch meine Backuplatte (komplett, lässt sich weder lesen noch schreiben) abgeraucht.
Jetzt kommt ne Menge Text, ich möchte das Problem relativ umfassend zeigen.
Mein System:
- AMD 2500+
- Maxtor 6Y200M0 @ S-ATA
Im Rescuesystem komme ich zwar wieder an die Platte ran, aber sie mag mich net so recht:
Code: Select all
RESCUE:~# mount -o ro /dev/sda2 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Code: Select all
RESCUE:~# reiserfsck --check /dev/sda2
[Blabla]
Replaying journal..
Reiserfs journal '/dev/sda2' in blocks [18..8211]: 0 transactions replayed
The problem has occurred looks like a hardware problem. If you have
bad blocks, we advise you to get a new hard drive, because once you
get one bad block that the disk drive internals cannot hide from
your sight,the chances of getting more are generally said to become
much higher (precise statistics are unknown to us), and this disk
drive is probably not expensive enough for you to you to risk your
time and data on it. If you don't want to follow that follow that
advice then if you have just a few bad blocks, try writing to the
bad blocks and see if the drive remaps the bad blocks (that means
it takes a block it has in reserve and allocates it for use for
of that block number). If it cannot remap the block, use badblock
option (-B) with reiserfs utils to handle this block correctly.
bread: Cannot read the block (22380544): (Input/output error).
Aborted
Code: Select all
badblocks -n -o defekt.log /dev/sda2
Code: Select all
reiserfsck -B defekt.log --fix-fixable /dev/sda2
Code: Select all
create_badblock_bitmap: block number (168428655) points out of fs size (49528384)
Code: Select all
reiserfsck --rebuild-sb /dev/sda2
Code: Select all
Reiserfs super block in block 16 on 0x802 of format 3.6 with standard journal
Count of blocks on the device: 49528384
Number of bitmaps: 1512
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 8429164
Root block: 24477889
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 22, max 972
Journal parameters:
Device [0x0]
Magic [0x7a0af13f]
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: 0x0:
sb_version: 2
inode generation number: 5987474
UUID: adf4eee5-efe0-449c-88d0-7f931d3cf6a9
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN
Super block seems to be correct
Code: Select all
reiserfsck --rebuild-tree --logfile rebuildsda2.log /dev/sda2
Irgendwann hab ich auch mal in einer meldung irgendwas von "Unable to read Bitmap" gelesen, aber das kann ich momentan nicht mehr reproduzieren.
Edit: Habs nun doch: Hab den BLock 22380544 einfach mal in ein File eingetragen und dann es mit "reiserfsck -S --rebuild-tree -B defekter.block --logfile rebuildsda2.log /dev/sda2" versucht.
Kommt folgendes:
Code: Select all
create_badblock_bitmap: block number (22380544) belongs to system reiserfs area. It cannot be relocated.
Sooo nun brauche ich Hilfe von euch, wie komme ich wieder an meine Daten. Eine neue Festplatte wäre kein Problem, aber die Daten brauche ich auf jeden Fall. Wie komme ich am schnellsten und unkompliziertesten dran?
Ich sitze nun schon 2 Tage dran, aber mittlerweile komme ich nicht mehr weiter. Google bringt nix vernünftiges mehr. Und ich hab noch nie File-Recovery unter Debian bzw auf ReiserFS gemacht...
Vielen Vielen Dank im Voraus
Uli
PS: Das ist das absolute Worst-Case-Szenario was hier grad zur Wirklichkeit wurde....