[ILUG] raid failure

Conor Wynne weeboy at conorwynne.com
Tue Mar 29 11:59:59 IST 2005


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ahem - S/W RAID is designed to cope with hdd failures, but not with
> power failures. (even stated in the HOWTO I think.) In fact even H/W
> RAID cards without battery backup units will have problems if the power
> goes in the middle of a write.

Usually is fine though. A new kitchen proved that in my case.

>
> J
>
> Steven Satelle wrote:
> | 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
> | DEVICE partitions
> | ARRAY /dev/md0 level=raid1 num-devices=2
> | UUID=9d64a945:279503f7:b3f06b53:bbe8a665
> |    devices=/dev/hda6,/dev/hdb2
> |
> | 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?

What does fdisk -l say?
What does cat /proc/mdstat say?
What does e2label /dev/md0 say?

Have you tried:

raidhotadd /dev/md0 /dev/xxx (or is that the other way around, I can never
remember)

> |
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFCSRj+HgDLUzVQ7OARAn7NAJ9XihVes/GYZ7WxhAtPKMSAYaPk9ACfdycf
> wcg+H0OVfeAjYqHolpG8xik=
> =Z3CI
> -----END PGP SIGNATURE-----

Regards
-- 
Conor Wynne,
Dublin,
Irlande.



More information about the ILUG mailing list