Re: replaced disk in RAID1 imsi array - how to activate?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



explain better..
do you have 2 disks in raid1, and removed one disk, or removed two disks?
could you send dmesg messages?

2012/8/9 Miquel van Smoorenburg <mikevs@xxxxxxxxxx>:
> Setup: kernel 3.2.21 (debian testing), mdadm 3.2.5.
>
> I created a RAID1 imsi array on a supermicro server for testing
> purposes. I'm trying to see what happens if I hot-remove disks,
> hot-add them, reboot, etc to test the resiliency of this setup.
>
> So I removed (by pulling it out) one disk, then simulated adding
> a blank replacement disk by putting it back in and running
> mdadm --zero-superblock on it.
>
> I re-added it to the container with mdadm /dev/md127 --add /dev/sda..
> and now it just sits there. How do I get the RAID1 array (dev/md126)
> to start using this disk? The manpage says:
>
>        -a, --add
>               hot-add  listed  devices.  If a device appears to have recently
>               been part of the array (possibly it failed or was removed)  the
>               device  is  re-added  as  described in the next point.  If that
>               fails or the device was never part of the array, the device  is
>               added  as a hot-spare.  If the array is degraded, it will imme‐
>               diately start to rebuild data onto that spare.
>
> However, nothing is happening:
>
> root@server3-b05-tpb:~/tmp# cat /proc/mdstat
> Personalities : [raid1]
> md126 : active raid1 sdb[0]
>       31457280 blocks super external:/md127/0 [2/1] [_U]
>
> md127 : inactive sda[1](S) sdb[0](S)
>       6306 blocks super external:imsm
>
>
> Thanks,
>
> Mike.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Roberto Spadim
Spadim Technology / SPAEmpresarial
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux