Re: md: kicking non-fresh sdf3 from array!

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

 



Hi Mark,

On 12/27/2012 01:48 PM, Mark Knecht wrote:

[trim /]

> I'd like to check that the following commands would be the recommended
> way to get the RAID6 back into a good state.
> 
> /sbin/mdadm /dev/md3 --fail /dev/sdf3 --remove /dev/sdf3

Shouldn't need the above, /dev/sdf3 isn't in the array.

> /sbin/mdadm /dev/md3 --add /dev/sdf3

mdadm may whine about the superblock, but should let you proceed.  But
yes, this is correct.

If you had a bitmap on the array, you would have been able to --re-add
without a full rebuild.  (On newer versions of mdadm, --add implies
--re-add if all the conditions are met.)

Phil
--
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