On 6/22/2012 9:37 AM, Ramon Hofer wrote: > Sorry, I hit the wrong button.On Thu, 21 Jun 2012 22:44:10 +0000, Ramon > Hofer wrote: > >> Is it possible to start md1 again to be able to start the linear array >> md0 so that I can accesss the data? > > Stan will probably be angry with me but I did the following: > > I found the recovery page in your wiki: > https://raid.wiki.kernel.org/index.php/RAID_Recovery > > So I followed the process there. > This is what I did: > > ~$ mdadm --examine /dev/sd[abcd] > raid.status.md1 > > ~$ mdadm --create --assume-clean -c 128 --level=5 --raid-devices=4 /dev/ > md1 /dev/sda /dev/sdb /dev/sdc /dev/sdd > > It was up and clean. > > ~$ mdadm --examine /dev/md[12] > raid.status.md0 > > ~$ mdadm -C --assume-clean -n2 -l linear /dev/md0 /dev/md[12] > > Now I could mount md0 and all my data is still there :-D You should have run an "xfs_repair -n" before mounting. "-n" means no modify, making it a check operation. If it finds errors then rerun it without the "-n" so it can make necessary repairs. Then remount. Sorry I forgot to mention this, or remind you, whichever is the case. :) -- Stan -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html