On Mon, 12 Nov 2012 13:11:50 -0500 starlight.2012q4@xxxxxxxxxxx wrote: > Probably this is more elegant: > > mdadm --create --level=1 --raid-devices=2 --spare-devices=1 /dev/sdd /dev/sde missing That is fairly meaningless ... I'm not sure it even works. While it makes sense for raid devices to be missing, it doesn't make sense for spares to be missing. Spares are just just any devices in the array which aren't active. If they are missing, then they aren't spare. NeilBrown > > At 12:26 PM 11/12/2012 -0500, starlight.2012q4@xxxxxxxxxxx wrote: > >After some pondering, think I've figure it out. > > > >Best way to go is to set it up with > > > > --create --level=1 --raid-devices=2 > > > >for the initial pair of drives, then > > > > --fail --remove > > > >the rotate-out drive, then > > > > --add > > > >the alternate drive. Now there will be > >three drive slots with one "removed" and two > >"active". > > -- > 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
Attachment:
signature.asc
Description: PGP signature