Lost my RAID

Justin Piszcz jpiszcz at lucidpixels.com
Fri Sep 15 13:41:06 UTC 2006



On Fri, 15 Sep 2006, Martin Marques wrote:

>
> I have a Linux RAID1 on 2 SATA disks on a FC4. The problem is that we had issues with the disks (power cables had trouble) and now one of the disks gets kicked out of the RAID:
>
> md: raid1 personality registered for level 1
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: considering sdb1 ...
> md:  adding sdb1 ...
> md:  adding sda1 ...
> md: created md0
> md: bind<sda1>
> md: bind<sdb1>
> md: running: <sdb1><sda1>
> md: kicking non-fresh sdb1 from array!
> md: unbind<sdb1>
> md: export_rdev(sdb1)
> raid1: raid set md0 active with 1 out of 2 mirrors
> md: ... autorun DONE.
>
> And later in the boot I have this:
>
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: considering sdb1 ...
> md:  adding sdb1 ...
> md: md0 already running, cannot run sdb1
> md: export_rdev(sdb1)
> md: ... autorun DONE.
>
> Someone told me I would have to rebuild the array with mdadm, but I want to know if I would loose data doing so.
>
> --
> ---------------------------------------------------------
> Lic. Martín Marqués         |   SELECT 'mmarques' ||
> Centro de Telemática        |       '@' || 'unl.edu.ar';
> Universidad Nacional        |   DBA, Programador,
>    del Litoral             |   Administrador
> ---------------------------------------------------------
>
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

You should not have to?

mdadm -D /dev/md0

Look for the failed disk, remove it: mdadm /dev/md0 -r /dev/sdb1

Then re-add it with mdadm /dev/md0 -a /dev/sdb1

Does this fix your problem?

Justin.



More information about the users mailing list