[pve-devel] Storage migration: online design solution

Michael Rasmussen mir at datanom.net
Wed Jan 9 22:20:08 CET 2013


On Wed, 9 Jan 2013 22:12:47 +0100
Michael Rasmussen <mir at datanom.net> wrote:

> Found out that it has to be a URI: /dev/pve-storage2_vg/vm-102-disk-1
> works:-)
> 
And another observation: For LVM, or maybe any block device, the device
needs to be created before executing drive-mirror

# drive_mirror -f drive-virtio2 /dev/pve-storage2_vg/vm-102-disk-2
Could not open '/dev/pve-storage2_vg/vm-102-disk-2'

lvcreate -L 2G --name vm-102-disk-2 pve-storage2_vg
  Logical volume "vm-102-disk-2" created

# drive_mirror -n -f drive-virtio2 /dev/pve-storage2_vg/vm-102-disk-2

# info block-jobs
Type mirror, device drive-virtio2: Completed 165675008 of 2147483648
bytes, speed limit 0 bytes/s

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
I surely do hope that's a syntax error.
		-- Larry Wall in <199710011752.KAA21624 at wall.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20130109/680dfb47/attachment.sig>


More information about the pve-devel mailing list