From: Tomasz Chmielewski <mangoo@wpkg.org>
To: linux-raid@vger.kernel.org
Subject: Re: creating RAID-1 - in which direction will the sync be made?
Date: Wed, 14 Jul 2010 15:48:39 +0200 [thread overview]
Message-ID: <4C3DC037.1000802@wpkg.org> (raw)
In-Reply-To: <4C3D8BA7.2020500@wpkg.org>
On 14.07.2010 12:04, Tomasz Chmielewski wrote:
> In which direction will the devices be synchronized, if I create a new RAID-1 array with an external bitmap?
>
>
> Assuming I use this command line:
>
> mdadm --create /dev/md11 --level=1 --bitmap=/mnt/src/bitmap --raid-devices 2 /dev/storage/origin /dev/esata/copy
>
>
>
> Should I expect /dev/storage/origin being written to /dev/esata/copy?
>
> Or perhaps, /dev/esata/copy will be written onto /dev/storage/origin?
>
>
> I couldn't find it explained in the fine manual, so perhaps creating an array with a missing device:
>
> mdadm --create /dev/md11 --level=1 --bitmap=/mnt/src/bitmap --raid-devices 2 /dev/storage/origin missing
>
> and adding a second device later will be safer...
Looks like the first device in the command line will be synced onto the
second.
However, I'd like someone to confirm this.
And that I should use "build" to sync the devices, otherwise, I'll write
a superblock on each of them ;)
--
Tomasz Chmielewski
http://wpkg.org
next prev parent reply other threads:[~2010-07-14 13:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-14 10:04 creating RAID-1 - in which direction will the sync be made? Tomasz Chmielewski
2010-07-14 13:48 ` Tomasz Chmielewski [this message]
2010-07-15 5:40 ` Neil Brown
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=4C3DC037.1000802@wpkg.org \
--to=mangoo@wpkg.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.