All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ross Vandegrift <ross@willow.seitz.com>
To: linux-raid@vger.kernel.org
Subject: Creating failed-mode RAID1 with mdadm
Date: Tue, 30 Apr 2002 14:48:32 -0400	[thread overview]
Message-ID: <20020430184832.GA381@willow.seitz.com> (raw)

Hey everyone,

	Creating a new array today, I decided I should probably start
using mdadm instead of the old tools.  I've been using it a bit at home
to do minor things, and it seemed nice.
	I've got a box with two 20G ide drives installed.  One is
currently the root drive at /dev/hda1 and the other is one of the disks
for the mirrored pair at /dev/hde1.  I'm trying to create the array with
/dev/hdg1 as a failed disk, and then move /dev/hda to /dev/hde after I
start booting the machine off of /dev/md0.
	When I do:

# mdadm --create /dev/md0 --level 1 --raid-disks=2 /dev/hde1 /dev/hdg1

I get:

mdadm: Cannot open /dev/hdg1: No such device or address
mdadm: create aborted

This makes sense, as /dev/hdg doesn't really exist yet.  I've tried
doing:

# mdadm --set-faulty /dev/md0 /dev/hdg1

but it doesn't seem to help.  How can I build an array like this via
mdadm?

Ross Vandegrift
ross@willow.seitz.com


             reply	other threads:[~2002-04-30 18:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30 18:48 Ross Vandegrift [this message]
2002-04-30 19:03 ` Creating failed-mode RAID1 with mdadm Ross Vandegrift
2002-05-03  5:49   ` Neil Brown
2002-04-30 22:28 ` bo

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=20020430184832.GA381@willow.seitz.com \
    --to=ross@willow.seitz.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.