From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Tran Subject: Re: How to force a spare drive to take over in a RAID5? Date: Mon, 08 Aug 2005 17:29:26 -0500 Message-ID: <1123540166.17810.1.camel@star2.austin.ibm.com> References: <45138.213.188.237.106.1123086677.squirrel@localhost> <20050804195853.0866ade9.akpm@osdl.org> <34082.213.188.237.106.1123228569.squirrel@localhost> <20050805010236.12d811ff.akpm@osdl.org> <006301c599ca$69410700$ab0e10ac@pinchy> <42F5F0B0.3050105@dgreaves.com> <012701c59c62$3db09d40$ab0e10ac@pinchy> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <012701c59c62$3db09d40$ab0e10ac@pinchy> Sender: linux-raid-owner@vger.kernel.org To: linux-raid@vger.kernel.org List-Id: linux-raid.ids You're on the right track :) mdadm --fail /dev/sdr should do. -- Mike T. On Mon, 2005-08-08 at 16:43, Mark Cuss wrote: > Kernel 2.4.27 > > I've been using the old raidtools stuff and am new to mdadm - sorry if this > is a obvisouly simply question... > > After perusing the man page, is looks to me that I should use mdadm to mark > the drive I want to remove as failed to force a rebuild on the spare drive. > I want to double check that this is correct first though, as this md device > contains 300 gig of production data. > > Thanks for the help! > > Mark > > ----- Original Message ----- > From: "David Greaves" > To: "Mark Cuss" > Cc: > Sent: Sunday, August 07, 2005 5:29 AM > Subject: Re: How to force a spare drive to take over in a RAID5? > > > > Mark Cuss wrote: > > > >> Hi! > >> > >> I have a 4 drive SW RAID5 running on my machine. One of the drives is > >> upset for some reason - I'm not sure if the drive itself is bad, but > >> that's not too important right now. The important thing is to get the > >> RAID5 to stop using this drive and start using a spare drive that I > >> just added. > > > > > >> I did a raidhotadd to add in a new drive, sds. Now, I would like the > >> array to stop using sdr and reconstruct all of the parity tables on > >> sds so I can pull sdr and get it replaced or whatever... > >> > >> Any ideas? > > > > Install and read the manpage for mdadm > > > > What kernel version? > > > > David > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >