I have a box in the attic running debian testing, with a raid 1 device
in it (software raid using mdadm - v1.9.0), I accidentally cut the power
to the box down today and when it came back up the raid device failed.
mdadm --examine on both devices in the array show them as being part of
the array with no problems, I can run fsck on the /dev/hdxx with no
errors but /dev/MD0 is gone and I haven't a clue how to get it back.
My /etc/mdadm/mdadm.conf fiel contents is:
earth:~# cat /etc/mdadm/mdadm.conf
ARRAY /dev/md0 level=raid1 num-devices=2
when I run:
mdadm --assemble --scan
I get back
mdadm: no devices found for /dev/md0
Does anyone know how to get it back without having to rebuild it?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!