Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "
Tipps und Tricks"-Bereich.
-
Blitz2
- Beiträge: 6
- Registriert: 20.11.2004 16:38:49
- Wohnort: Weyhe
-
Kontaktdaten:
Beitrag
von Blitz2 » 01.01.2007 10:35:25
Moin,
ich versuche ein Software-RAID5 aus 4 Platten unter ETCH zu erstellen. Dazu nutze ich den Befehl:
Code: Alles auswählen
mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 --spare-devices=0 /dev/hdc1 /dev/hdd1 /dev/sda1 /dev/sdb1
Leider erstellt mdadm nur ein RAID mit drei Platten und einer Spare-Disk:
- mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Mon Jan 1 11:18:29 2007
Raid Level : raid5
Array Size : 908210304 (866.14 GiB 930.01 GB)
Device Size : 302736768 (288.71 GiB 310.00 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Jan 1 11:18:29 2007
State : clean, degraded, recovering
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 64K
Rebuild Status : 8% complete
UUID : 4f3980f5:769d02c4:954ea2b2:e6378f09
Events : 0.1
Number Major Minor RaidDevice State
0 22 1 0 active sync /dev/hdc1
1 22 65 1 active sync /dev/hdd1
2 8 1 2 active sync /dev/sda1
4 8 17 3 spare rebuilding /dev/sdb1
Wie kann ich mdadm dazu veranlassen alle 4 Platten für das RAID zu nutzen? Kann mir jemand einen Tip geben?
Gruß Jörg
-
Blitz2
- Beiträge: 6
- Registriert: 20.11.2004 16:38:49
- Wohnort: Weyhe
-
Kontaktdaten:
Beitrag
von Blitz2 » 01.01.2007 12:24:55
Tja, ich war wohl nur zu voreilig.
Nach Ablauf des Recoverys sieht das Ganze jetzt wie gewünscht aus:
- /dev/md0:
Version : 00.90.03
Creation Time : Mon Jan 1 11:18:29 2007
Raid Level : raid5
Array Size : 908210304 (866.14 GiB 930.01 GB)
Device Size : 302736768 (288.71 GiB 310.00 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Jan 1 13:18:03 2007
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
UUID : 4f3980f5:769d02c4:954ea2b2:e6378f09
Events : 0.2
Number Major Minor RaidDevice State
0 22 1 0 active sync /dev/hdc1
1 22 65 1 active sync /dev/hdd1
2 8 1 2 active sync /dev/sda1
3 8 17 3 active sync /dev/sdb1
Also genau was ich wollte.