Re: 20 drive raid-10, CentOS5.5, after reboot assemble fails - all drives "non-fresh"

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

 



On 08/08/2011 12:32 AM, Jeff Johnson wrote:

It is good I can start the raid manually but it isn't supposed to work
like that. Any idea why assembling from a config file would fail? Here
is the latest version of the config file line (made with mdadm --examine
--scan):

Jeff,

  You might need to update the raid superblocks during the manual assemble.

  mdadm --assemble --update=summaries /dev/md3 /dev/sd[c-v]1

  Also, you can simplify the below a bit to the following:


ARRAY /dev/md3 level=raid10 num-devices=20 metadata=0.90 spares=4
UUID=e17a29e8:ec6bce5c:f13d343c:cfba4dc4

ARRAY /dev/md3 UUID=e17a29e8:ec6bce5c:f13d343c:cfba4dc4


--Jeff

On Sun, Aug 7, 2011 at 7:56 PM, NeilBrown<neilb@xxxxxxx
<mailto:neilb@xxxxxxx>>wrote:

On Sun, 07 Aug 2011 19:37:04 -0700 Jeff Johnson
<jeff.johnson@xxxxxxxxxxxxxxxxx
<mailto:jeff.johnson@xxxxxxxxxxxxxxxxx>> wrote:

 > Greetings,
 >
 > I have a 20 drive raid-10 that has been running well for over one
year.
 > After the most recently system boot the raid will not assemble.
 > /var/log/messages shows that all of the drives are "non-fresh".

--snip--

You really don't want that 'devices=" clause in there. Device names can
change..
--snip--

 > Events : 90
 > Events : 90
 > Events : 92
 > Events : 92
 > Events : 92
 > Events : 92

So the spares are '92' and the others are '90'. That is weird...

However you should be able to assemble the array by simply listing
all the
non-spare devices:

mdadm -A /dev/md3 /dev/sd[c-v]1

NeilBrown


--
------------------------------
Jeff Johnson
Manager
Aeon Computing

jeff.johnson "at" aeoncomputing.com <mailto:jeff.johnson@xxxxxxxxxxxxxxxxx>
www.aeoncomputing.com <http://www.aeoncomputing.com/>
t:858-412-3810 x101 <tel:858-412-3810%20x101> f:858-412-3845
<tel:858-412-3845>


4905 Morena Boulevard, Suite 1313 - San Diego, CA 92117

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

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