From: Tomasz Chmielewski <mangoo@wpkg.org>
To: David Greaves <david@dgreaves.com>
Cc: linux-raid@vger.kernel.org, Peter Rabbitson <rabbit@rabbit.us>
Subject: Re: how to synchronize two devices (RAID-1, but not really?)
Date: Tue, 15 May 2007 11:50:04 +0200 [thread overview]
Message-ID: <4649824C.1010005@wpkg.org> (raw)
In-Reply-To: <46498053.9000807@dgreaves.com>
David Greaves schrieb:
(...)
>> So I want to synchronize /dev/LVM2/my-volume (ext3) with /dev/sdr (now
>> empty; bigger than /dev/LVM2/my-volume).
>>
>>
>> (sda2, sdb2, sdc2, sdd2) -> RAID-10 -> LVM-2 -> my volume -> ext3
>>
>>
>
>
> I've not used iSCSI but I wonder about using nbd : network block device
>
> Use nbd to export /dev/md5 from machine 2.
> Import /dev/nbd0 on machine 1.
> Add nbd0 to the VG on machine 1
> pvmove the data from /dev/md10 to /dev/nbd0 (ie the md5 on machine2 via nbd)
> remove /dev/md10 from the VG.
Hmm, maybe using LVM's mirror would help me here:
CONFIG_DM_MIRROR:
Allow volume managers to mirror logical volumes, also
needed for live data migration tools such as 'pvmove'.
--
Tomasz Chmielewski
http://wpkg.org
next prev parent reply other threads:[~2007-05-15 9:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-15 8:57 how to synchronize two devices (RAID-1, but not really?) Tomasz Chmielewski
2007-05-15 9:16 ` Peter Rabbitson
2007-05-15 9:27 ` Tomasz Chmielewski
2007-05-15 9:41 ` David Greaves
2007-05-15 9:50 ` Tomasz Chmielewski [this message]
2007-05-16 17:36 ` Bill Davidsen
2007-05-15 14:22 ` Gregory Seidman
2007-05-15 9:29 ` Gordon Henderson
2007-05-15 9:44 ` Tomasz Chmielewski
2007-05-15 10:16 ` Neil Brown
2007-05-15 10:36 ` Tomasz Chmielewski
2007-05-15 11:12 ` Neil Brown
2007-05-15 10:41 ` Tomasz Chmielewski
2007-05-15 11:07 ` Neil Brown
2007-05-15 11:21 ` Tomasz Chmielewski
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=4649824C.1010005@wpkg.org \
--to=mangoo@wpkg.org \
--cc=david@dgreaves.com \
--cc=linux-raid@vger.kernel.org \
--cc=rabbit@rabbit.us \
/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 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).