linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* creating RAID-1 - in which direction will the sync be made?
@ 2010-07-14 10:04 Tomasz Chmielewski
  2010-07-14 13:48 ` Tomasz Chmielewski
  0 siblings, 1 reply; 3+ messages in thread
From: Tomasz Chmielewski @ 2010-07-14 10:04 UTC (permalink / raw)
  To: linux-raid

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



-- 
Tomasz Chmielewski
http://wpkg.org


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

end of thread, other threads:[~2010-07-15  5:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-07-15  5:40   ` Neil Brown

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