From: Rob Harris <rharris@shabadoo.org>
To: linux-raid@vger.kernel.org
Subject: no-reboot mirror creation
Date: Tue, 28 Mar 2006 09:08:28 -0500 [thread overview]
Message-ID: <4429435C.6070704@shabadoo.org> (raw)
OK. Stupid question.
So, I have a 300G drive in my system, 'bout half full running jfs.
I added a second 300G drive because I want to do mirroring.
I don't have place to copy the data off to create a clean two-drive
mirror from the get go, so I:
- created a one-drive mirror using mdadm (requiring --force) on the new disk
- mounted it
- copied the data over from the non-raid disk to the raid disk
- verified that all the data was copied
- changed the type of the partition on the old disk to FD
- # mdadm /dev/md1 --add /dev/hdf1 (added the newly created partition)
It seemed to work... kinda. It didn't actually add the partition to the
mirror, but just set it as a spare; i.e. I never see it syncing the data
from the old disk to the new.
Is there a way that I can add the drive to the mirror without setting it
as a spare?
Thanks.
-R
next reply other threads:[~2006-03-28 14:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 14:08 Rob Harris [this message]
2006-03-28 14:42 ` no-reboot mirror creation Laurent CARON
[not found] ` <20060328141523.GD18942@chihiro.cern.ch>
2006-03-28 14:46 ` Rob Harris
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=4429435C.6070704@shabadoo.org \
--to=rharris@shabadoo.org \
--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.