PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Defekte Sektoren, trotzdem mounten



Qudus
29.05.05, 22:05
hi

Ich habe bei zweien meiner Festplatten in letzter Zeit crashes gehabt. Einfach mitten im Kopiervorgang abgesemmelt. Auf einer hatte ich auch NTFS-Partitionen, die ich zwar mounten, aber die Daten nur problembehaftet retten konnte, da einige Sektoren mittendrin defekt waren. Auf den Reiser Partitionen scheint das auch der Fall zu sein, allerdings darf ich sie dann gar nicht mehr mounten.

Es kommt dann so eine Standardfehlermeldung, die danach klingt, dass der mount daemon auch keinen Plan hat, was los ist.

mount: Falscher Dateisystemtyp, ungültige Optionen, der
»Superblock« von /dev/hda2 ist beschädigt oder es sind
zu viele Dateisysteme eingehängt

Ungültige Optionen kann ich sicher ausschließen und ich wüsste nicht warum der Superblock kaputt sein sollte. Außerdem sollte ich ihn ja dann mit den reisertools reparieren können. Die sagen mir aber nur, dass Sektor blablabla kaputt ist.

Ich hoffe, das war ausführlich genug.

Kann ich nun solche Partitionen irgendwie trotzdem mounten, auch wenn ich dann einige Dateien eben nicht lesen können werde. read only würde mir ja auch schon reichen.

Gruß, Qudus

Blade
30.05.05, 07:03
Hast Du mal die Platte mit fsck.reiserfs geprüft?
Ich hatte auch mal einen heftigen Platten-Crsh und konnte mit der Option fsck.reiserfs --rebuild-tree /dev/hda2 die Platte wieder ansprechbar und mountabel herstellen.

Qudus
31.05.05, 12:29
Hört sich gut an. Werde ich heute abend mal ausprobieren. Danke.

atomical
31.05.05, 14:23
Ich würd vorher ein Image anlegen ...

Qudus
31.05.05, 19:07
Das kommt dabei rum:


root@ttyp1[knoppix]# fsck.reiserfs --rebuild-tree /dev/hda2
reiserfsck 3.6.19 (2003 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 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 rebuild the filesystem (/dev/hda2) 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 '/dev/hda2' 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 (15237120): (Input/output error).

Abgebrochen

hast Du vielleicht noch ne Idee, oder ist die Platte wirklich so am Arsch, dass man da nichts mehr machen kann?


Ich würd vorher ein Image anlegen ...
Wär ja schön, wenn das noch funktionieren würde. Außerdem ist die Partition ja nicht ganz klein. Aber es sind eh nur ein paar Pornos oder so drauf. Nichts wichtiges jedenfalls. Ich habe mich von den Daten bereits verabschiedet und es ist bloß interessehalber fürs nächste Mal, wenn sowas passiert.

Blade
31.05.05, 19:23
Ich tippe mal, dass Du echte Platten-Hardware-Probleme hast -> die Platte ist abgeracht:

Bad blocks ... und ...Cannot read the block (15237120): (Input/output error)

Hast Du mal nur fsck.reiserfs probiert, schau Dir doch auch mal die anderen fsck - Optionen an .... zu verlieren hast Du nichts mehr :ugly: ich weiß, ist schon blöd sowas ...

atomical
31.05.05, 21:31
die Partition von der defekten Platte per dd_rescue (u.a. bei knoppix dabei) auf eine neue und dann evt. nach mal mit fsck ...