Raid1 Systeminstall
Raid 1 Installation on Ubuntu Warty protocol and workaround. In German.
Auf Raid 1 installieren wird von Warty nicht direkt unterstützt. Durch unsere Debian Root-Raid Beschreibung war es allerdings schon seit Debian Woody möglich ein System mit Software Raid 1 betreiben zu können. Neu ist allerdings die direkte Installation auf ein Raid 1 (wie bei RedHat). Dazu siehe folgende Innformationen:
- Beschreibung Installation Hoary direkt auf Raid1 erklärt eine erfolgreiche Installation.
- Ubuntu Mailinglist Artikel welcher auf einige Fehlersituationen beschreibt und eine Referenz auf einen Bugeintrag und auf ein HowTo beinhaltet.
Fehlersiatioan Hoary:
_Update_: In Ubuntu Hoary wurde der mdadm 1.9 aufgenommen. Beim nächste Array sollte es keine Probleme mehr geben. Siehe dazu auch die Fehlermeldung und die Antwort von Colin
Alle Raids verwenden die selbe UUID. Dazu gibt es im Debian Bug System zwei Einträge:
- #292784: mdadm: always makes arrays with same UUID Package: mdadm; Severity: important; Reported by: Andre Tomt ; Done: Mario Joussen ; Will be archived: in 12 days.
- #294404: udev does not create /dev/md* devices at boot-up Package: mdadm; Severity: critical; Reported by: Brian White ; 13 days old.
Behoben in mdadm Version 1.9.0-1 allerdings in Hoary Array 5 nicht verfügbar. Mit dem Debian mdadm 1.9 Paket getestet und OK (backported).
Der Fehler stellt sich so dar:
mdadm -D --brief --scan
ARRAY /dev/md5 level=raid1 num-devices=2
UUID=6b8b4567:327b23c6:643c9869:66334873
devices=/dev/hda9,/dev/hdc9
ARRAY /dev/md4 level=raid1 num-devices=2
UUID=6b8b4567:327b23c6:643c9869:66334873
devices=/dev/hda8,/dev/hdc8
ARRAY /dev/md3 level=raid1 num-devices=2
UUID=6b8b4567:327b23c6:643c9869:66334873
devices=/dev/hda7,/dev/hdc7
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=6b8b4567:327b23c6:643c9869:66334873
devices=/dev/hda6,/dev/hdc6
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=6b8b4567:327b23c6:643c9869:66334873
devices=/dev/hdc5,/dev/hda5
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=6b8b4567:327b23c6:643c9869:66334873
devices=/dev/hdc1,/dev/hda1
Die neu angelegten Raids (md6, 7, 8) werden nun auch gleich gestartet:
kernel: md: md1 stopped.
kernel: md: bind<hda5>
kernel: md: bind<hdc5>
kernel: raid1: raid set md1 active with 2 out of 2 mirrors
kernel: md: md2 stopped.
kernel: md: bind<hdc6>
kernel: md: bind<hda6>
kernel: raid1: raid set md2 active with 2 out of 2 mirrors
kernel: md: md3 stopped.
kernel: md: bind<hdc7>
kernel: md: bind<hda7>
kernel: raid1: raid set md3 active with 2 out of 2 mirrors
kernel: md: md4 stopped.
kernel: md: bind<hdc8>
kernel: md: bind<hda8>
kernel: raid1: raid set md4 active with 2 out of 2 mirrors
kernel: md: md5 stopped.
kernel: md: bind<hdc9>
kernel: md: bind<hda9>
kernel: raid1: raid set md5 active with 2 out of 2 mirrors
kernel: cdrom: open failed.
kernel: md: bind<dm-0>
kernel: md: bind<dm-1>
kernel: md: md6: raid array is not clean -- starting background reconstruction
kernel: raid1: raid set md6 active with 2 out of 2 mirrors
kernel: ........<6>md: syncing RAID array md6
kernel: md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
kernel: md: using maximum available idle IO bandwith (but not more than 200000 KB/sec)
for reconstruction.
kernel: md: using 128k window, over a total of 9767424 blocks.
kernel: md: bind<dm-2>
kernel: md: bind<dm-3>
kernel: md: md7: raid array is not clean -- starting background reconstruction
kernel: raid1: raid set md7 active with 2 out of 2 mirrors
kernel: ........<6>md: syncing RAID array md7
kernel: md: minimum _guaranteed_ reconstruction speed: 1000 KB/sec/disc.
kernel: md: using maximum available idle IO bandwith (but not more than 200000 KB/sec)
for reconstruction.
kernel: md: using 128k window, over a total of 9767424 blocks.
Die /proc/mdstat Information:
cat /proc/mdstat
Personalities : [raid1]
md6 : active raid1 dm-1[1] dm-0[0]
9767424 blocks [2/2] [UU]
[====>................] resync = 23.0% (2255360/9767424) finish=124.4min speed=1004K/sec
md7 : active raid1 dm-3[1] dm-2[0]
9767424 blocks [2/2] [UU]
[====>................] resync = 23.0% (2255360/9767424) finish=120.0min speed=1041K/sec
md5 : active raid1 hda9[0] hdc9[1]
979840 blocks [2/2] [UU]
md4 : active raid1 hda8[0] hdc8[1]
3903680 blocks [2/2] [UU]
md3 : active raid1 hda7[0] hdc7[1]
3903680 blocks [2/2] [UU]
md2 : active raid1 hda6[0] hdc6[1]
3903680 blocks [2/2] [UU]
md1 : active raid1 hdc5[0] hda5[1]
1951744 blocks [2/2] [UU]
md0 : active raid1 hdc1[0] hda1[1]
3903680 blocks [2/2] [UU]
unused devices: <none>

Previous:
Raid Installation Hoary Hedgehog 5.04
