Author
Topic: failed RAID1 (Read 1712 times)

i got my other 2tb hard drive and am attempting to set them in a RAID1 setup, they are connected through a software RAID card, i do not have a RAID setup through its BIOS, i followed the wiki instructions when i go to build the RAID it just comes back as "degraded, rebuilding" and refreshing the page comes back as "failed". i followed the troubleshooting steps on the wiki, but i'm still having an issue, when i run "sudo mdadm --stop /dev/md1", i get "mdadm: error opening /dev/md1: No such device or address" in return, i have rebuilt the partition and formated each drive in EXT3 multiple times and it refuses to work...

If you only have one md device it will be "/dev/md0", not "/dev/md1", by the way. Look at the output from "mdadm --detail" - read the mdadm man page to figure out how to get additional information about the state of the array.

sorry for the long wait in replying, life happens and i wasn't apply to work on it for awhile, i tried "sudo mdadm --stop /dev/md0" and still get the same results, when i do "mdadm --detail" it returns "mdadm: No devices given." when i do "fdisk -l" i get:

sorry for the long wait in replying, life happens and i wasn't apply to work on it for awhile, i tried "sudo mdadm --stop /dev/md0" and still get the same results, when i do "mdadm --detail" it returns "mdadm: No devices given." when i do "fdisk -l" i get:

Cannot open /dev/sdaCannot open /dev/sdb

thanks for the reply.

...If you're going to use mdadm commands, you're going to need to read the mdadm documentation... You need to specify which device you want details about.

cat /proc/mdstatand you should get something to come up. Then try the webadmin page for RAIDing.

EDIT: I tried to set up the RAID array on the webadmin page and after the array is built I just get an error saying it's damaged. Also, I tried restarting the computer and the array didn't reinitialise. I had to go into the konsole and use mdadm to assemble the array again.

whoops, i apologize, i was blindly reading your reply about using mdadm --details, i got "mdadm: md device /dev/md0 does not appear to be active." so i ran "sudo modprobe md-mod" and then "cat /proc/mdstat" and recreated the RAID. now i am also looked at "damaged" under status "sudo mdadm --detail /dev/md3" comes back with: