superblock einer reiserfs-platte wiederherstellen?

Gronau

Gronau

Doppel-As
Hi!
Gerade hatten wir einen stromausfall und seitdem kann ich meine platte nicht mehr mounten. Auf der disk ist eine erweiterte partition (/dev/hdb5), die aber jetzt als fat32 erkannt wird. Kann man irgendwie das Dateisystem bzw. den superblock zu reiserfs(3) ändern, ohne daten zu verlieren?
 
Lass mal ein fsck.reiserfs durchlaufen. Allerdings kann ich mir kaum vorstellen, dass die ploetzlich als fat32 erkannt wird. Was sagt denn
Code:
fdisk -l
 
Die platte wird ganz sicher als fat32 erkannt, obwohl sie eine reiserfs3 ist.

fdisk -l
Code:
Platte /dev/hdb: 81.9 GByte, 81964302336 Byte
255 Köpfe, 63 Sektoren/Spuren, 9964 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

    Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/hdb1               1        9964    80035798+   5  Erweiterte
/dev/hdb5               1        9964    80035767    c  W95 FAT32 (LBA)

fsck.reiserfs /dev/hdb
Code:
reiserfs_open: the reiserfs superblock cannot be found on /dev/hdb.
Failed to open the filesystem.

If the partition table has not been changed, and the partition is
valid  and  it really  contains  a reiserfs  partition,  then the
superblock  is corrupted and you need to run this utility with
--rebuild-sb.

fsck.reiserfs /dev/hdb5
Code:
reiserfsck --check started at Sun Jul  9 17:00:42 2006
###########
Replaying journal..
Reiserfs journal '/dev/hdb5' 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 (32768): (Input/output error).

wenn ich den SB reparieren will:

fsck.reiserfs --rebuild-sb /dev/hdb5
Code:
Reiserfs super block in block 16 on 0x345 of format 3.6 with standard journal
Count of blocks on the device: 20008928
Number of bitmaps: 611
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 6774041
Root block: 30115
Filesystem is NOT clean
Tree height: 4
Hash function used to sort names: "r5"
Objectid map size 254, max 972
Journal parameters:
        Device [0x0]
        Magic [0x5106244b]
        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: 95474
UUID: 48e731e0-7ca6-4f2a-aa05-8802881dea6a
LABEL: 
Set flags in SB:
        ATTRIBUTES CLEAN

Super block seems to be correct

Macht es sinn, den superblock von /dev/hdb zu reparieren? Meiner meinung nach hat ein device kein superblock sondern nur die partition (in meinem fall hdb5), oder lieg ich da falsch?
 
Dort steht doch genau, was zu tun ist.

fsck.reiserfs --rebuild-sb.
 
Dann vielleicht mit fdisk die Partitionsid von Win auf Linux setzen: /dev/hdb5
als root
fdisk /dev/hdb
und dann die Hilfe aufrufen
 
Zuletzt bearbeitet:
Das koennte im schlimmsten Fall den Verlust aller Daten bedeuten, aber die scheinen ja eh erstmal weg. So'n Fehler ist mir ja noch nie begegnet. Very strange. Sicher, dass es die richtige Platte ist? ;)
 
Den Typ der Platte mittels cfdisk zu ändern brauchte auch keinen Erfolg. Ich hab die partition einfach gelöscht und neu erstellt. Immerhin die wichtigsten Dateien hab ich gebackupt. Trotzdem Danke für eure Hilfe.
 

Ähnliche Themen

Raid5 spare nach rebuild "verschwunden"?

SSD auf einen (geringfügig) kleineren USB-Stick wiederherstellen

Festplatte auf SD Karte umziehen

Festplatte-no valid journal superblock found

Partitionierungshilfe für 3 dualboot Systeme

Zurück
Oben