[pve-devel] Storage migration: online design solution
Alexandre DERUMIER
aderumier at odiso.com
Thu Jan 10 07:47:38 CET 2013
>>And another observation: For LVM, or maybe any block device, the device
>>needs to be created before executing drive-mirror
Yes, it's better to create ourself the volume. (same for qemu-img convert).
Because Qemu can't create volume for all storages types (rbd,sheepdog, other storage api)
----- Mail original -----
De: "Michael Rasmussen" <mir at datanom.net>
À: pve-devel at pve.proxmox.com
Envoyé: Mercredi 9 Janvier 2013 22:20:08
Objet: Re: [pve-devel] Storage migration: online design solution
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>
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list