/dev/hda blew up, so root FS gone and fresh install, and i'd really like to keep stuff from /dev/md0.
/dev/md0 used to be /dev/hdh + /dev/hdg on raid 1 on earlier system where /dev/hda blew up.
Ran Ubuntu 6.10 Desktop CD,
tried to move files from forementioned hdh+hgd raid1 to new disk /dev/sda1 to use hdh+hdg as / in future.
apt-get install mdadm, as it wasnt on live cd otherwise
accidentally typed "mdadm --create
/dev/md0 --level=1 --raid-disks=2 /dev/hdh1 /dev/hdg1"
Problem is that create - it should have been --assemble
I noticed my error at about 14% of re-syncing of raid, and didnt dare to stop it.
I let it run to 100% and it completed succesfully.
Mount doesnt work, it gives :
mount -t ext3 /dev/md0 /tmp/test
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or other error
mdadm says superblock is persistent.
On other hand /dev/hde1 is a single, primary partition with ext3 and it hasnt been altered in anyway way, and i cannot mount that either for some weird reason. Gives the same error as above.
I _think_ i did hdh1 and hdg1 as FD-partitions and i would very much like to get data out from them
Next thing i'm planning to do is do a fresh install to /dev/sdb - install proper kernels etc and start examining situation more closely without booting from livecd any more.
Main objective - to get as much stuff as possible from hdh/hdg out to any other device
Any help, suggestions and precautions you have in mind - please donate