linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Ok, dumb question time ...
@ 2010-10-08  4:20 Joe Landman
  2010-10-08  4:54 ` Neil Brown
  2010-10-08 18:01 ` CoolCold
  0 siblings, 2 replies; 5+ messages in thread
From: Joe Landman @ 2010-10-08  4:20 UTC (permalink / raw)
  To: linux-raid

Not having much luck with this.  Let me explain ...

Imagine we have a RAID1 with 3 elements.  It was originally a RAID1 with 
2 elements, and we added a 3rd using

	mdadm /dev/md0 --add /dev/loop1

What I want to do is conceptually very simple.  I want to permanently 
remove loop1, without having the array become dirty, or degraded.  That 
is, I would like

	mdadm /dev/md0 --fail /dev/loop1 --remove /dev/loop1

to result in a clean array with two members.

It doesn't.  The array is marked as being in the "clean, degraded" 
state.  Which, as it is the root file system array, has the unfortunate 
side effect of not allowing the RAID1 to properly assemble at boot (that 
degraded state).

So ... can I force the array to either remove the extra unneeded loop1 
device, and update its metadata properly ... or force it into a clean, 
active state without the loop1 device, or force the assembly on boot to 
occur regardless of what it thinks it should have?

This is quite disconcerting ... I thought it would be simple.
-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics, Inc.
email: landman@scalableinformatics.com
web  : http://scalableinformatics.com
        http://scalableinformatics.com/jackrabbit
phone: +1 734 786 8423 x121
fax  : +1 866 888 3112
cell : +1 734 612 4615

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-08 18:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-08  4:20 Ok, dumb question time Joe Landman
2010-10-08  4:54 ` Neil Brown
2010-10-08  5:00   ` Joe Landman
2010-10-08 18:01 ` CoolCold
2010-10-08 18:07   ` Joe Landman

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).