From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Kristleifur_Da=F0ason?= Subject: Re: recovering a mirrored arry. Date: Fri, 5 Feb 2010 22:06:38 +0000 Message-ID: <73e903671002051406l5dd7b359w5c7fd540bb667d82@mail.gmail.com> References: <20100203025758.GA12925@light.rap.dk> <20100205011928.GA12630@light.rap.dk> <73e903671002050825j2ae06fabjc7ec2b1e8fb85135@mail.gmail.com> <20100205185043.GA6956@light.rap.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20100205185043.GA6956@light.rap.dk> Sender: linux-raid-owner@vger.kernel.org To: Keld Simonsen Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids On Fri, Feb 5, 2010 at 6:50 PM, Keld Simonsen wrote: > On Fri, Feb 05, 2010 at 04:25:02PM +0000, Kristleifur Da=F0ason wrote= : >> On Fri, Feb 5, 2010 at 1:19 AM, Keld Simonsen wrot= e: >> > On Wed, Feb 03, 2010 at 03:57:58AM +0100, Keld Simonsen wrote: >> > Hi >> > >> > >> > can anybody help me with this? I am stuck with recovering my syste= m here. >> > is it a sensible thing ro do? >> > >> > best regards >> > keld >> > >> >> Hi >> >> >> >> I got 2 arrays in error of the raid10 type. >> >> >> >> I think this is because my motherboard died, and then the fs were >> >> corrupted. >> >> >> >> My thoughts were that actually one of the copies could be correct= =2E >> >> So I would like to try out the consistency of each part of the ra= id10 >> >> (it is 2-partition arrays), and then if I find one that is consis= tent, then >> >> resync the faulty one with the good one. >> >> >> >> How do I do this? >> >> >> >> it seems that I cannot just assemble an array with a missing part= =2E >> >> If I assemble the full array, is there then a risk of the bad one >> >> corrupting the good one? And can I declare one of the disks fault= y >> >> then test the other one, then declare nbr 2 disk for faulty and >> >> declare the first one as good? >> >> >> >> I dont see anything on the wiki on this. >> >> >> >> best regards >> >> keld >> > -- >> > To unsubscribe from this list: send the line "unsubscribe linux-ra= id" in >> > the body of a message to majordomo@vger.kernel.org >> > More majordomo info at =A0http://vger.kernel.org/majordomo-info.ht= ml >> > >> >> >> I wish I could help more, but check out this from the mdadm man page= : >> >> =A0 =A0 =A0 =A0To create a "degraded" array in which some devices ar= e missing, >> simply give >> =A0 =A0 =A0 =A0the word "missing" in place of a device name. =A0This= =A0will >> cause =A0mdadm =A0to >> =A0 =A0 =A0 =A0leave =A0the =A0corresponding =A0slot =A0in =A0the ar= ray empty. =A0For a >> RAID4 or RAID5 >> =A0 =A0 =A0 =A0array at most one slot can be "missing"; for a =A0RAI= D6 =A0array >> at =A0most =A0two >> =A0 =A0 =A0 =A0slots. =A0 For a RAID1 array, only one real device ne= eds to be >> given. =A0All of >> =A0 =A0 =A0 =A0the others can be "missing". > > I tried missing, but mdadm said that it could not find missing as a d= evice, > for assemble mode. > > best regards > keld > Hmmm ... I guess your version of mdadm may be too old. Which version do you have? -- 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