public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brad Langhorst <brad@langhorst.com>
To: linux-kernel@vger.kernel.org
Subject: md wierdness with 2.6.0test9
Date: Fri, 31 Oct 2003 21:35:48 -0500	[thread overview]
Message-ID: <1067654148.19557.409.camel@up> (raw)

I have a pretty simple little raid 1 

/dev/hda1 and /dev/hdc1 should be mirrors of each other.

i created the raid like this

mdadm --create --level 1 -n 2 /dev/md0 /dev/hdc1 missing
(this is from memory - just to give you an idea of how this happened)

i also created /dev/md1 for swap
mdadm --create --level 1 -n 2 /dev/md1 /dev/hdc2 /dev/hda2


now when i go to add /dev/hda1 to the array all looks fine

mdadm --zero-superblock /dev/hda1

mdadm --add /dev/md0 /dev/hda1

array syncs up but i see this wierdness (it exists across reboots)
from mdadm --details /dev/md0

Number 	Major 	Minor 	RaidDevice	State
0	22	1	0		active sync /dev/hdc1
1	0	0	-1		removed
2	3	1	1		spare /dev/hda1

rebooting to a 2.4 series kernel appears to fix this problem...

In my search for information I read this post
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&threadm=rvg0.5x4.17%40gated-at.bofh.it&rnum=4&prev=/groups%3Fq%3Dmdadm%2Bfaulty%2Bremoved%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3Dutf-8%26selm%3Drvg0.5x4.17%2540gated-at.bofh.it%26rnum%3D4
which talks about patching md.c to fix a similar problem...

In test9 the patch discussed is already applied 
so it either doesn't fix the problem or this problem is not the same
problem 

best wishes

brad






             reply	other threads:[~2003-11-01  2:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-01  2:35 Brad Langhorst [this message]
2003-11-01 13:41 ` md wierdness with 2.6.0test9 Dick Streefland

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=1067654148.19557.409.camel@up \
    --to=brad@langhorst.com \
    --cc=linux-kernel@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