All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Neil Brown <neilb@suse.de>, Marc MERLIN <merlin@gmail.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	mingo@elte.hu, linux-raid@vger.kernel.org
Subject: Re: Last ditch plea on remote double raid5 disk failure
Date: Mon, 31 Dec 2007 10:38:48 -0500	[thread overview]
Message-ID: <47790D08.7000605@tmr.com> (raw)
In-Reply-To: <4778FA73.7010208@msgid.tls.msk.ru>

Michael Tokarev wrote:
> Neil Brown wrote:
>   
>> On Monday December 31, merlin@gmail.com wrote:
>>     
>>> I'm hoping that if I can get raid5 to continue despite the errors, I
>>> can bring back up enough of the server to continue, a bit like the
>>> remount-ro option in ext2/ext3.
>>>
>>> If not, oh well...
>>>       
>> Sorry, but it is "oh well".
>>     

> And another thought around all this.  Linux sw raid definitely need
> a way to proactively replace a (probably failing) drive, without removing
> it from the array first.  Something like,
>   mdadm --add /dev/md0 /dev/sdNEW --inplace /dev/sdFAILING
> so that sdNEW will be a mirror of sdFAILING, and once the "recovery"
> procedure finishes (which may use data from other drives in case of
> I/O error reading sdFAILING - unlike described scenario of making a
> superblock-less mirror of sdNEW and sdFAILING),
>   mdadm --remove /dev/md0 /dev/sdFAILING,
> which does not involve any further reconstructions anymore.
>   

I really like that idea, it addresses the same problem as the various 
posts regarding creating little raid1 arrays of the old and new drive, etc.

I would like an option to keep a drive with bad sectors in an array if 
removing the drive would prevent the array from running (or starting). I 
don't think that should be default, but there are times when some data 
is way better than none. I would think the options are fail the drive, 
set the array r/o, and return an error and keep going.

-- 
Bill Davidsen <davidsen@tmr.com>
  "Woe unto the statesman who makes war without a reason that will still
  be valid when the war is over..." Otto von Bismark 



  reply	other threads:[~2007-12-31 15:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-31 10:39 Last ditch plea on remote double raid5 disk failure Marc MERLIN
2007-12-31 12:05 ` Neil Brown
2007-12-31 12:40   ` Marc MERLIN
2007-12-31 14:19   ` Michael Tokarev
2007-12-31 15:38     ` Bill Davidsen [this message]
2008-01-01  9:56 ` David Rees

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47790D08.7000605@tmr.com \
    --to=davidsen@tmr.com \
    --cc=hpa@zytor.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=merlin@gmail.com \
    --cc=mingo@elte.hu \
    --cc=mjt@tls.msk.ru \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.