Debian Software RAID1 wiederherstellen

dude

New Member
Hallo zusammen,
in meinem Server ist leider eine Festplatte ausgefallen, die ich vom Support auch habe tauschen lassen. Zuvor habe ich die alte Platte natürlich aus dem RAID entfernt. Nun möchte ich die Partitionen kopieren bekomme aber folgende Fehlermeldung:
Code:
# sfdisk -d /dev/sda | sfdisk /dev/sdb
sfdisk: Checking that no-one is using this disk right now ...
sfdisk: BLKRRPART: Input/output error
sfdisk: OK

Disk /dev/sdb: 243201 cylinders, 255 heads, 63 sectors/track
sfdisk: read error on /dev/sdb - cannot read sector 0: Input/output error
sfdisk:  /dev/sdb: unrecognized partition table type
Old situation:
sfdisk: No partitions found
New situation:
Units: sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/dev/sdb1          2048  33556480   33554433  83  Linux
/dev/sdb2      33558528  34607104    1048577  fd  Linux raid autodetect
/dev/sdb3      34609152 3907028918 3872419767  fd  Linux raid autodetect
/dev/sdb4             0         -          0   0  Empty
sfdisk: Warning: partition 1 does not end at a cylinder boundary
sfdisk: Warning: partition 2 does not start at a cylinder boundary
sfdisk: Warning: partition 2 does not end at a cylinder boundary
sfdisk: Warning: partition 3 does not start at a cylinder boundary
sfdisk: Warning: partition 3 does not end at a cylinder boundary
sfdisk: Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
sfdisk: read error on /dev/sdb - cannot read sector 0: Input/output error
Re-reading the partition table ...
sfdisk: BLKRRPART: Input/output error
sfdisk: Error closing /dev/sdb: Input/output error
sfdisk: If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

Bei /dev/sdb habe ich sehr oft einen Input/output error. Habe den Schritt auch mit einem Livesystem versucht, leider auch erfolglos. Vielleicht hat ja jemand von euch noch eine Idee.

Beste Grüße!
 
Hallo,
"sfdisk: /dev/sdb: unrecognized partition table type"
Dann hole Dir die Partitionen von der lauffähigen Platte und setze diese ein.
 

Werbung

Top