Re: trouble adding spare
flat view
From: Beolach <hidden>
Date: 2009-01-22 03:50:46
On Wed, Jan 21, 2009 at 10:21 AM, Max Waterman [off-list ref] 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