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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html