Aloha....

wie kann ich ein software raid wiederherstellen?
ich hatte ein 2 *sata 160 GB raid0 am promise controller.
das hat auch gut gefunzt.
dann habe ich mein system zerstört, leider.
ich musste es neu aufsetzen.

nun funzt das raid nicht mehr. d.h. ich kann nicht mehr auf meine daten zugreifen. das ist äußerst schlecht.

zu meinem system:
gentoo 2.6.11. r7
amd 64
boot platte ide
speicher platten 2*160 gb Sata am promise.

erstellt habe ich das raid0 damals so:

Mit fdisk bei beiden Platten den Typ auf fd (Linux Raid Autodetect) ändern.
Dann /etc/mdadm.conf erstellen und mit folgendem Inhalt füllen:Code:
DEVICE /dev/sda1 /dev/sdb1
ARRAY /dev/md0 devices=/dev/sda1,/dev/sdb1

Anschließend das Raid erstellen:Code:
$ modprobe md
$ modprobe raid0
$ mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1

wenn ich das jetzt wieder mache, dann kommt folgendes:
bla es ist schon ein raid vorhanden bla wollen sie fortfahren.
wenn ich fortfahre, dann habe ich zwar ein device md0 nur komplett ohne daten und dateisystem und das ist sehr schlecht.

wenn ich mittels fdisk /dev/md0 drauf zugreife kommt folgendes:

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. changes will remain in memory only until you decide to write them. after that, of course, the previous content won't be recoverable

The number of cylinder for this disk is set to 78144128.
there is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g, old versions of lilo)
2) booting and partinioning software from other OSs

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/md0: 320.0 GB, 32000xxxx bytes
2 heads, 4 sectors/track, 78xxxx cylinders
Units = cylinders of 8*512 = 4096 bytes

Device Boot Start End Blocks Id System


ich habe auch schon die help files von mdadm durchsucht aber nix gefunden was in etwa so richtung wiederherstellen bzw wieder aufbauen geht..

kann mir jemand helfen... ich bin bald echt am ende.. 320 GB daten.. wenn die weg sind bekomm ich nen riesen fön....milde ausgedrückt...

MFG
Tester