Hallo,
musste gerade feststellen, dass eine Platte (hdb) aus nem RAID 1 Array nicht mehr läuft - das Array ist wie gesagt raid 1 mit zwei IDE Platten.
Der Server läuft unter SuSE 9, 2.4er Kernel.
Die Platte ansich ist 100%ig in Ordnung ... sie lässt sich booten/schreiben/lesen etc -> sie halt nicht mehr im RAID drin.
Zu allem Unglück ist auch noch die Partitionstabelle von hbd hin -> ich also ran und auf hdb die Partitionen neu erstellt.
fdisk -l /dev/hdb
Platte /dev/hdb: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder
Einheiten = Zylinder von 16065 * 512 = 8225280 Bytes
Gerät boot. Anfang Ende Blöcke Id Dateisystemtyp
/dev/hdb1 1 21 168651 fd Linux raid autodetect
/dev/hdb2 22 149 1028160 fd Linux raid autodetect
/dev/hdb3 150 19456 155083477+ fd Linux raid autodetect
fdisk -l /dev/hda
Platte /dev/hda: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder
Einheiten = Zylinder von 16065 * 512 = 8225280 Bytes
Gerät boot. Anfang Ende Blöcke Id Dateisystemtyp
/dev/hda1 * 1 21 168651 fd Linux raid autodetect
/dev/hda2 22 149 1028160 fd Linux raid autodetect
/dev/hda3 150 19456 155083477+ fd Linux raid autodetect
cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 hda1[1]
168576 blocks [2/1] [_U]
md1 : active raid1 hda3[1]
155083392 blocks [2/1] [_U]
md0 : active raid1 hda2[1]
1028096 blocks [2/1] [_U]
unused devices: <none>
Jetzt wirds interessant ... wenn ich nun versuche mit
raidhotadd /dev/md0 /dev/hdb2
die Partition hinzuzufügen erzählt "es" mir:
/dev/md0: can not hot-add disk: too small disk!
Versteht das jmd? Die beiden Partitionen sind doch bis auf den letzten Block gleichgroß ...
Grüße, Ulli