linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2+ raid sets, sata and a missing hd question
@ 2006-02-15  2:45 CaT
  2006-02-15  6:50 ` Luca Berra
  0 siblings, 1 reply; 5+ messages in thread
From: CaT @ 2006-02-15  2:45 UTC (permalink / raw)
  To: linux-raid

Hi,

Lets say I have the following setup:

RAID 1 (as md1, md2, md3, md4, md5 for eg)
sda, sdb

RAID 5 (as md6)
sdc, sdd, sde, sdf, sdg

Seeing as how SATA drives can move around if one removes one from a set
(ie given sda, sdb, sdc, if sdb was removed sdc drops to sdb) would md6
come back up without problems if I were to remove either sda or sdb.

All md partitions are of type fd (Linux raid autodetect).

Thanks. :)

-- 
    "To the extent that we overreact, we proffer the terrorists the
    greatest tribute."
    	- High Court Judge Michael Kirby

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

* Re: 2+ raid sets, sata and a missing hd question
  2006-02-15  2:45 2+ raid sets, sata and a missing hd question CaT
@ 2006-02-15  6:50 ` Luca Berra
  2006-02-15 10:02   ` CaT
  2006-02-15 23:44   ` Mark Hahn
  0 siblings, 2 replies; 5+ messages in thread
From: Luca Berra @ 2006-02-15  6:50 UTC (permalink / raw)
  To: linux-raid

On Wed, Feb 15, 2006 at 01:45:21PM +1100, CaT wrote:
>Seeing as how SATA drives can move around if one removes one from a set
>(ie given sda, sdb, sdc, if sdb was removed sdc drops to sdb) would md6
>come back up without problems if I were to remove either sda or sdb.

if you configured mdadm correctly, you will have no problem :)

hint
echo DEVICE partitions >> /etc/mdadm.conf
mdadm -Esc partitions | grep ARRAY>> /etc/mdadm.conf

>All md partitions are of type fd (Linux raid autodetect).
>
this is surprisingly not at all relevant

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

* Re: 2+ raid sets, sata and a missing hd question
  2006-02-15  6:50 ` Luca Berra
@ 2006-02-15 10:02   ` CaT
  2006-02-15 23:44   ` Mark Hahn
  1 sibling, 0 replies; 5+ messages in thread
From: CaT @ 2006-02-15 10:02 UTC (permalink / raw)
  To: linux-raid

On Wed, Feb 15, 2006 at 07:50:28AM +0100, Luca Berra wrote:
> On Wed, Feb 15, 2006 at 01:45:21PM +1100, CaT wrote:
> >Seeing as how SATA drives can move around if one removes one from a set
> >(ie given sda, sdb, sdc, if sdb was removed sdc drops to sdb) would md6
> >come back up without problems if I were to remove either sda or sdb.
> 
> if you configured mdadm correctly, you will have no problem :)
> 
> hint
> echo DEVICE partitions >> /etc/mdadm.conf
> mdadm -Esc partitions | grep ARRAY>> /etc/mdadm.conf

So the md5 array will reconstruct itself after initial bootup where the
kernel reconstructs the raid1 (as well as it can) for booting?

> >All md partitions are of type fd (Linux raid autodetect).
>
> this is surprisingly not at all relevant

Awww. But I like it when the kernel just, well, does it all and makes it
all ready. :)

-- 
    "To the extent that we overreact, we proffer the terrorists the
    greatest tribute."
    	- High Court Judge Michael Kirby

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

* Re: 2+ raid sets, sata and a missing hd question
  2006-02-15  6:50 ` Luca Berra
  2006-02-15 10:02   ` CaT
@ 2006-02-15 23:44   ` Mark Hahn
  2006-02-16  8:24     ` Luca Berra
  1 sibling, 1 reply; 5+ messages in thread
From: Mark Hahn @ 2006-02-15 23:44 UTC (permalink / raw)
  To: Luca Berra; +Cc: linux-raid

> hint
> echo DEVICE partitions >> /etc/mdadm.conf
> mdadm -Esc partitions | grep ARRAY>> /etc/mdadm.conf
> 
> >All md partitions are of type fd (Linux raid autodetect).
> >
> this is surprisingly not at all relevant

I'm not sure about that.  I've accidentally shuffled disks before,
and 0xfd resulted in all the MD's coming to life again.  I never 
use /etc/mdadm.conf, since there doesn't seem to be much point...

regards, mark hahn.


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

* Re: 2+ raid sets, sata and a missing hd question
  2006-02-15 23:44   ` Mark Hahn
@ 2006-02-16  8:24     ` Luca Berra
  0 siblings, 0 replies; 5+ messages in thread
From: Luca Berra @ 2006-02-16  8:24 UTC (permalink / raw)
  To: linux-raid

On Wed, Feb 15, 2006 at 06:44:29PM -0500, Mark Hahn wrote:
>> hint
>> echo DEVICE partitions >> /etc/mdadm.conf
>> mdadm -Esc partitions | grep ARRAY>> /etc/mdadm.conf
>> 
>> >All md partitions are of type fd (Linux raid autodetect).
>> >
>> this is surprisingly not at all relevant
>
>I'm not sure about that.  I've accidentally shuffled disks before,
>and 0xfd resulted in all the MD's coming to life again.  I never 
>use /etc/mdadm.conf, since there doesn't seem to be much point...

i did not speak about in-kernel autodetection.

don't cc me on list replies unless it is really important

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

end of thread, other threads:[~2006-02-16  8:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15  2:45 2+ raid sets, sata and a missing hd question CaT
2006-02-15  6:50 ` Luca Berra
2006-02-15 10:02   ` CaT
2006-02-15 23:44   ` Mark Hahn
2006-02-16  8:24     ` Luca Berra

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