To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. ubuntu@ubuntu:~$ sudo bash root@ubuntu:~# aptßget install mdadm bash: aptßget: command not found root@ubuntu:~# apt-get install mdadm Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut Reading state information... Fertig Empfohlene Pakete: mail-transport-agent Die folgenden NEUEN Pakete werden installiert: mdadm 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen noch 0B von 224kB Archiven geholt werden. After this operation, 639kB of additional disk space will be used. Vorkonfiguration der Pakete ... Wähle vormals abgewähltes Paket mdadm. (Lese Datenbank ... 151105 Dateien und Verzeichnisse sind derzeit installiert.) Entpacke mdadm (aus .../mdadm_2.6.3+200709292116+4450e59-3ubuntu3_i386.deb) ... Richte mdadm ein (2.6.3+200709292116+4450e59-3ubuntu3) ... Generating array device nodes... done. Generating mdadm.conf... done. Removing any system startup links for /etc/init.d/mdadm-raid ... update-initramfs is disabled since running on a live CD * Starting MD monitoring service mdadm --monitor [ OK ] root@ubuntu:~# fdisk -l Platte /dev/sda: 500.1 GByte, 500107862016 Byte 16 Köpfe, 63 Sektoren/Spuren, 969021 Zylinder Einheiten = Zylinder von 1008 × 512 = 516096 Bytes Disk identifier: 0x8cb65b7c Gerät boot. Anfang Ende Blöcke Id System /dev/sda1 1 261 131543+ 83 Linux /dev/sda2 262 522 131544 82 Linux Swap / Solaris /dev/sda3 523 969022 488123496+ 89 Unbekannt Platte /dev/sdb: 500.1 GByte, 500107862016 Byte 16 Köpfe, 63 Sektoren/Spuren, 969021 Zylinder Einheiten = Zylinder von 1008 × 512 = 516096 Bytes Disk identifier: 0x58008f58 Gerät boot. Anfang Ende Blöcke Id System /dev/sdb1 1 261 131543+ 83 Linux /dev/sdb2 262 522 131544 82 Linux Swap / Solaris /dev/sdb3 523 969022 488123496+ 89 Unbekannt Platte /dev/sdc: 500.1 GByte, 500107862016 Byte 16 Köpfe, 63 Sektoren/Spuren, 969021 Zylinder Einheiten = Zylinder von 1008 × 512 = 516096 Bytes Disk identifier: 0x8cb65b48 Gerät boot. Anfang Ende Blöcke Id System /dev/sdc1 1 261 131543+ 83 Linux /dev/sdc2 262 522 131544 82 Linux Swap / Solaris /dev/sdc3 523 969022 488123496+ 89 Unbekannt Platte /dev/sdd: 500.1 GByte, 500107862016 Byte 16 Köpfe, 63 Sektoren/Spuren, 969021 Zylinder Einheiten = Zylinder von 1008 × 512 = 516096 Bytes Disk identifier: 0x58008f5f Gerät boot. Anfang Ende Blöcke Id System /dev/sdd1 1 261 131543+ 83 Linux /dev/sdd2 262 522 131544 82 Linux Swap / Solaris /dev/sdd3 523 969022 488123496+ 89 Unbekannt root@ubuntu:~# mdadm --examine /dev/sda3 /dev/sda3: Magic : a92b4efc Version : 00.90.01 UUID : 65121dd4:39dd8953:8080b4fd:86a80a3f Creation Time : Thu Feb 1 22:12:07 2007 Raid Level : raid10 Used Dev Size : 488123392 (465.51 GiB 499.84 GB) Array Size : 976246784 (931.02 GiB 999.68 GB) Raid Devices : 4 Total Devices : 2 Preferred Minor : 0 Update Time : Fri Oct 17 10:18:37 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 2 Spare Devices : 0 Checksum : fb26c402 - correct Events : 0.494146 Layout : near=2, far=1 Chunk Size : 64K Number Major Minor RaidDevice State this 2 8 19 2 active sync /dev/sdb3 0 0 8 3 0 active sync /dev/sda3 1 1 0 0 1 faulty removed 2 2 8 19 2 active sync /dev/sdb3 3 3 0 0 3 faulty removed root@ubuntu:~# mdadm --examine /dev/sdb3 /dev/sdb3: Magic : a92b4efc Version : 00.90.01 UUID : 65121dd4:39dd8953:8080b4fd:86a80a3f Creation Time : Thu Feb 1 22:12:07 2007 Raid Level : raid10 Used Dev Size : 488123392 (465.51 GiB 499.84 GB) Array Size : 976246784 (931.02 GiB 999.68 GB) Raid Devices : 4 Total Devices : 2 Preferred Minor : 0 Update Time : Fri Oct 17 10:18:37 2008 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 2 Spare Devices : 0 Checksum : fb26c3ee - correct Events : 0.494146 Layout : near=2, far=1 Chunk Size : 64K Number Major Minor RaidDevice State this 0 8 3 0 active sync /dev/sda3 0 0 8 3 0 active sync /dev/sda3 1 1 0 0 1 faulty removed 2 2 8 19 2 active sync /dev/sdb3 3 3 0 0 3 faulty removed root@ubuntu:~# mdadm --examine /dev/sdc3 /dev/sdc3: Magic : a92b4efc Version : 00.90.01 UUID : 65121dd4:39dd8953:8080b4fd:86a80a3f Creation Time : Thu Feb 1 22:12:07 2007 Raid Level : raid10 Used Dev Size : 488123392 (465.51 GiB 499.84 GB) Array Size : 976246784 (931.02 GiB 999.68 GB) Raid Devices : 4 Total Devices : 4 Preferred Minor : 0 Update Time : Fri Oct 17 09:52:26 2008 State : clean Active Devices : 2 Working Devices : 4 Failed Devices : 2 Spare Devices : 2 Checksum : fb26be73 - correct Events : 0.494142 Layout : near=2, far=1 Chunk Size : 64K Number Major Minor RaidDevice State this 4 8 51 4 spare /dev/sdd3 0 0 8 3 0 active sync /dev/sda3 1 1 0 0 1 faulty removed 2 2 8 19 2 active sync /dev/sdb3 3 3 0 0 3 faulty removed 4 4 8 51 4 spare /dev/sdd3 5 5 8 35 5 spare /dev/sdc3 root@ubuntu:~# mdadm --examine /dev/sdd3 /dev/sdd3: Magic : a92b4efc Version : 00.90.01 UUID : 65121dd4:39dd8953:8080b4fd:86a80a3f Creation Time : Thu Feb 1 22:12:07 2007 Raid Level : raid10 Used Dev Size : 488123392 (465.51 GiB 499.84 GB) Array Size : 976246784 (931.02 GiB 999.68 GB) Raid Devices : 4 Total Devices : 4 Preferred Minor : 0 Update Time : Fri Oct 17 09:52:26 2008 State : clean Active Devices : 2 Working Devices : 4 Failed Devices : 2 Spare Devices : 2 Checksum : fb26be65 - correct Events : 0.494142 Layout : near=2, far=1 Chunk Size : 64K Number Major Minor RaidDevice State this 5 8 35 5 spare /dev/sdc3 0 0 8 3 0 active sync /dev/sda3 1 1 0 0 1 faulty removed 2 2 8 19 2 active sync /dev/sdb3 3 3 0 0 3 faulty removed 4 4 8 51 4 spare /dev/sdd3 5 5 8 35 5 spare /dev/sdc3 root@ubuntu:~#