From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Lyakas Subject: Re: MD devnode still present after 'remove' udev event, and mdadm reports 'does not appear to be active' Date: Wed, 19 Oct 2011 14:01:16 +0200 Message-ID: References: <20110830072557.428fab35@notabene.brown> <20110921150323.0ef402c9@notabene.brown> <20110925201510.24e0f468@notabene.brown> <20111012144531.7479596a@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20111012144531.7479596a@notabene.brown> Sender: linux-raid-owner@vger.kernel.org To: NeilBrown Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids Thanks, Neil. I experimented with --force switch, and I saw that when using this switch it is possible to start the array, even though I am sure that the data will be corrupted. Such as selecting stale drives (which have been replaced previously etc.) Can I have some indication that it is "relatively safe" to start the array with --force? =46or example, in the case of "dirty degraded", perhaps it might be relatively safe. What should I look at? The output of --examine? Or something else? Thanks, Alex. On Wed, Oct 12, 2011 at 5:45 AM, NeilBrown wrote: > On Tue, 11 Oct 2011 15:11:47 +0200 Alexander Lyakas > wrote: > >> Hello Neil, >> can you please confirm for me something? >> In case the array is FAILED (when your enough() function returns 0) = - >> for example, after simultaneous failure of all drives - then the onl= y >> option to try to recover such array is to do: >> mdadm --stop >> and then attempt >> mdadm --assemble >> >> correct? > > Yes, though you will probably want a --force as well. > >> >> I did not see any other option to recover such array Incremental >> assemble doesn't work in that case, it simply adds back the drives a= s >> spares. > > In recent version of mdadm it shouldn't add them as spare. =A0It shou= ld say > that it cannot add it and give up. > > NeilBrown > > > -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html