Re: trouble adding spare

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

 



On Wed, Jan 21, 2009 at 10:21 AM, Max Waterman
<davidmaxwaterman@xxxxxxxxxxxxxx> wrote:
> Someone else's post prompted me to try :
>
> $ sudo /sbin/mdadm --detail --scan
> ARRAY /dev/md2 level=raid5 num-devices=6 metadata=00.90 spares=2
> UUID=15bfec75:595ac793:0914f8ee:862effd8
>
> and use that in mdadm.conf instead of the output of :
>
> ~$ sudo /sbin/mdadm --examine --scan
> ARRAY /dev/md2 level=raid5 num-devices=6
> UUID=15bfec75:595ac793:0914f8ee:862effd8
>  spares=2
>
> This fixes my problem of the second spare drive not being added. I'm not
> sure why.
>
> However, mdadm now gives me a 'message' :
>
> mdadm: metadata format 00.90 unknown, ignored.
>
> What's this about? Anything to worry about?
>

Change it to metadata=0.90 instead of metadata=00.90 & it should work
w/out the error message.  It would probably be good if mdadm.conf
and/or mdadm --detail --scan dropped leading zeros.


Conway S. Smith
--
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