linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Osiel <bob@osiel.org>
To: linux-raid@vger.kernel.org
Subject: A few mdadm questions
Date: Fri, 12 Nov 2004 21:34:48 -0600	[thread overview]
Message-ID: <419580D8.1020900@osiel.org> (raw)

Hello.
I have a five-disk RAID 5 array  in which one disk's failure went 
unnoticed for an indeterminate time.  Once I finally noticed, I did a 
raidhotremove on the disk -- or what I thought was the disk.  
Unfortunately, I can't count.  Now my array has one 'failed' disk and 
one 'spare' disk.  Aaargh.

Since then, I've learned a lot, but I haven't been able to find 
reassurances and/or answers elsewhere on a few issues.

The two big questions are:
1) How can I mark the 'spare' disk as 'clean' and get it back in the 
array?  If I read the mdadm source correctly, it looks like 'removed' 
disks are skipped when trying to assemble.
2) If I --assemble --force the array and just specify (n-1) disks, does 
that ensure that (if the array starts) it starts in degraded mode and 
won't start re-writing the parity information? 

Thanks a bunch in advance for any help.

Bob


             reply	other threads:[~2004-11-13  3:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-13  3:34 Robert Osiel [this message]
2004-11-13  4:21 ` A few mdadm questions Guy
2004-11-13  7:32   ` Neil Brown
2004-11-14  0:35     ` Robert Osiel
2004-11-14  2:03       ` Guy
2004-11-14 16:12         ` Robert Osiel
2004-11-14 23:42           ` Neil Brown
2004-11-15  5:34             ` Guy
2004-11-15 15:50             ` Robert Osiel

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=419580D8.1020900@osiel.org \
    --to=bob@osiel.org \
    --cc=linux-raid@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).