linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Creating RAID1 with "missing"  - mdadm 1.90
@ 2005-03-05 22:16 berk walker
  2005-03-05 23:17 ` Neil Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: berk walker @ 2005-03-05 22:16 UTC (permalink / raw)
  To: linux-raid

What might the proper [or functional] syntax be to do this?

I'm running 2.6.10-1.766-FC3, and mdadm 1.90.

Thanks for the time.
b-

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

* Re: Creating RAID1 with "missing"  - mdadm 1.90
  2005-03-05 22:16 Creating RAID1 with "missing" - mdadm 1.90 berk walker
@ 2005-03-05 23:17 ` Neil Brown
  2005-03-05 23:29 ` Peter T. Breuer
  2005-03-06 13:29 ` Dirk Jagdmann
  2 siblings, 0 replies; 4+ messages in thread
From: Neil Brown @ 2005-03-05 23:17 UTC (permalink / raw)
  To: berk walker; +Cc: linux-raid

On Saturday March 5, berk@panix.com wrote:
> What might the proper [or functional] syntax be to do this?
> 
> I'm running 2.6.10-1.766-FC3, and mdadm 1.90.

It would help if you told us what you tried as then we could possible
give a more focussed answer, however:


   mdadm --create /dev/md1 --level=raid1 --raid-devices=2 /dev/sda3 missing

might be the sort of thing you want.

NeilBrown

> 
> Thanks for the time.
> b-
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Creating RAID1 with "missing"  - mdadm 1.90
  2005-03-05 22:16 Creating RAID1 with "missing" - mdadm 1.90 berk walker
  2005-03-05 23:17 ` Neil Brown
@ 2005-03-05 23:29 ` Peter T. Breuer
  2005-03-06 13:29 ` Dirk Jagdmann
  2 siblings, 0 replies; 4+ messages in thread
From: Peter T. Breuer @ 2005-03-05 23:29 UTC (permalink / raw)
  To: linux-raid

berk walker <berk@panix.com> wrote:
> What might the proper [or functional] syntax be to do this?
> 
> I'm running 2.6.10-1.766-FC3, and mdadm 1.90.

Substitute the word "missing"  for the corresponding device in the
mdadm create command.

(quotes manual page)

    To create a "degraded" array in which some devices are missing,
    simply give the word "missing" in place of a device name.

Peter


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

* Re: Creating RAID1 with "missing" - mdadm 1.90
  2005-03-05 22:16 Creating RAID1 with "missing" - mdadm 1.90 berk walker
  2005-03-05 23:17 ` Neil Brown
  2005-03-05 23:29 ` Peter T. Breuer
@ 2005-03-06 13:29 ` Dirk Jagdmann
  2 siblings, 0 replies; 4+ messages in thread
From: Dirk Jagdmann @ 2005-03-06 13:29 UTC (permalink / raw)
  To: berk walker; +Cc: linux-raid

I have successfully set up a raid1 in degraded mode with this command line:

mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/hda2

I have experienced problems when the "missing" drive was the second
and the array would not initialize correctly when a real disk was
added later. When "missing" is the first I did not have any problems.
(Those problems were with linux 2.4 kernels, maybe this is solved with
2.6, but I did had the opportunity to check yet)

-- 
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org

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

end of thread, other threads:[~2005-03-06 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-05 22:16 Creating RAID1 with "missing" - mdadm 1.90 berk walker
2005-03-05 23:17 ` Neil Brown
2005-03-05 23:29 ` Peter T. Breuer
2005-03-06 13:29 ` Dirk Jagdmann

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