Raid-Festplatte spiegeln

raver-softi

Active Member
Hallo,
ich habe ein Raid 5 mit 4 Festplatten auf gvinum basis.
Leider sind mir 2 Festplatten davon kaputt gegangen, also eine zuviel.
Ich kann eine kaputte Festplatte mit einer heilen Festplatte reparieren.
Ich muss jetzt soeine reparierte Festplatte 1:1 auf eine neue kopieren,
damit ich die beiden Platten einschicken kann und meine Daten nicht komplett weg sind, wenn ich 2 neue bekomme.

dd if=/dev/ad0 out=/dev/ad1

Kann man das so machen oder fehlt da noch irgendwas.
 
raver-softi said:
dd if=/dev/ad0 out=/dev/ad1

Kann man das so machen oder fehlt da noch irgendwas.


so erhaelst du mit groesster wahrscheinlichkeit eine fehlermeldung

dd if=/dev/ad0 of=/dev/ad1

heisst der befehl
 
vieleicht hilft eines dieser programme:
http://www.garloff.de/kurt/linux/ddrescue/
dd_rescue does not abort on errors on the input file, unless you specify a maximum error number. Then dd_rescue will abort when this number is reached.
Purpose of dd_rescue:
Imagine, one of your partitions is crashed, and as there are some hard errors, you don't want to write to this hard disk any more. Just getting all the data off it and retiring it seems to be suitable. However, you can't access the files, as the file system is damaged.
http://www.feyrer.de/g4u/
 
Last edited:
Back
Top