All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Reynolds <josh.reynolds@yagermaterials.com>
To: linux-raid@vger.kernel.org
Subject: RAID10 only using 2/4 drives
Date: Wed, 11 Jan 2012 08:51:34 -0600	[thread overview]
Message-ID: <4F0DA1F6.9070700@yagermaterials.com> (raw)

Hello! 1st post on this mailing list, so be gentle.

I've got a production Ubuntu box that I used the installer to create a 
raid10 system on several months ago. I pretty much setup the box and 
then left it alone, to run a couple of different things and some vm's.

I really started to realize something was wrong fairly recently when my 
disk size was showing approx 1/2 of what I thought it should for a 
raid10. Also, my disk speeds were... not something I'd expect for 4 drives.

After looking into it, I realized mdadm had marked two of the drives as 
spares. WTF.

To make sure that I wasn't crazy, I wiped out a partition on each drive, 
and created a raid10 by hand. My original system array is md0, the other 
is md1.

----------------------------
josh@virtserver:~$ cat /proc/mdstat
Personalities : [raid0] [raid1] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]
       46868480 blocks super 1.2 512K chunks 2 far-copies [4/4] [UUUU]

md0 : active raid10 sdd3[4](S) sdb3[3](S) sdc3[2] sda3[0]
       951370752 blocks super 1.2 512K chunks 2 far-copies [2/2] [UU]
       bitmap: 3/8 pages [12KB], 65536KB chunk
---------------------------

I notice the 2nd array I created is showing the raid1 and raid0 
personalities... and I have a feeling that's what is gimping the md0 array?

I've tried fail/remove/adding those two partitions marked as spares, and 
it never adds them back as active members.

HELP! :)

  - Josh

             reply	other threads:[~2012-01-11 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 14:51 Josh Reynolds [this message]
2012-01-11 15:43 ` RAID10 only using 2/4 drives Robin Hill

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=4F0DA1F6.9070700@yagermaterials.com \
    --to=josh.reynolds@yagermaterials.com \
    --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 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.