Re: mdadm spare-group not working for me

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

 



On Wednesday July 7, Holger.Kiehl@xxxxxx wrote:
> 
> Is it possible to influence the order at which the spares are taken
> from the group? Reason is that I have four spare partitions on two
> ide disks (2 partitions on each disk). Removing a second disk I
> noticed it picked the second partition from the same disk. The spares
> where added in this order hde7 hda7 hde6 hda6, but mdadm picked hde7
> and then hde6. Better would be hde then hda.

No, it is not possible to do that reliably.

mdadm will tend to choose the first one it finds.  So if you add the
best choices as spared first, and then add the poorer choices, it
might be more likely to choose the one you want.

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