PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : raidreconf: reconfiguration failed



jean_luc_picard
15.04.05, 15:00
Hallo Leute,

ich möchte mein Raid neu konfigurieren. Leider erhalte ich nur eine Fehlermeldung, die mir _gar nicht_ weiterhilft.

Hier erstmal meine raidtab's:



#/etc/raidtab
raiddev /dev/md2
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
chunk-size 64k
device /dev/hdc1
raid-disk 0
device /dev/sda3
raid-disk 1
device /dev/sdb3
raid-disk 2

#/etc/raidtab.old
raiddev /dev/md2
raid-level 0
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 64k
device /dev/hdc1
raid-disk 0
device /dev/sda3
raid-disk 1


Wenn in nun raidreconf aufrufe, erhelte ich folgendes:



raidreconf -o /etc/raidtab.old -n /etc/raidtab -m /dev/md2
Working with device /dev/md2
Parsing /etc/raidtab.old
Parsing /etc/raidtab
reconfiguration failed


Und das war's. Der Rechner führt anscheinend auch keinerlei Operationen aus. Das alte Raid besteht weiterhin. Ich habe dann auch mal die Option --test probiert:



raidreconf -o /etc/raidtab.old -n /etc/raidtab -m /dev/md2 --test
test mode - plain files are used, no kernel RAID interaction
Working with device /dev/md2
Parsing /etc/raidtab.old
Parsing /etc/raidtab
/dev/hdc1: device too small (0kB)
reconfiguration failed


Wieso soll das Device zu klein sein (zumal es sich bereits im Raid-Verbund befindet)?

Hier noch die Ausgabe von fdisk -l :



Platte /dev/sda: 250.0 GByte, 250059350016 Byte
255 Köpfe, 63 Sektoren/Spuren, 30401 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 1 122 979933+ fd Linux raid autodetect
/dev/sda2 * 123 973 6835657+ fd Linux raid autodetect
/dev/sda3 974 5837 39070080 fd Linux raid autodetect

Platte /dev/sdb: 250.0 GByte, 250059350016 Byte
255 Köpfe, 63 Sektoren/Spuren, 30401 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 1 122 979933+ fd Linux raid autodetect
/dev/sdb2 123 973 6835657+ fd Linux raid autodetect
/dev/sdb3 974 5837 39070080 fd Linux raid autodetect

Platte /dev/hdc: 40.0 GByte, 40027029504 Byte
16 Köpfe, 63 Sektoren/Spuren, 77557 Zylinder
Einheiten = Zylinder von 1008 × 512 = 516096 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/hdc1 1 77557 39088696+ fd Linux raid autodetect


Gruß, Picard

PS: Das Raiddevice habe ich natürlich mit raidstop angehalten, in den Systemmeldungen wurde das auch geloggt.