[pve-devel] Storage migration: online design solution
Alexandre DERUMIER
aderumier at odiso.com
Wed Jan 9 10:29:33 CET 2013
this works with nbd for me, if both storages are available from same host
sample using monitor command:
vm is use rbd storage, virtio0
destination drive is a sheepdog volume (that I have create before)
#drive_mirror -n -f drive-virtio0 sheepdog:127.0.0.1:7000:vm-144-disk-1
# info block-jobs
Type mirror, device drive-virtio0: Completed 1073741824 of 1073741824 bytes, speed limit 0 bytes/s
----- Mail original -----
De: "Alexandre DERUMIER" <aderumier at odiso.com>
À: "Michael Rasmussen" <mir at datanom.net>
Cc: pve-devel at pve.proxmox.com
Envoyé: Mercredi 9 Janvier 2013 09:37:21
Objet: Re: [pve-devel] Storage migration: online design solution
>>I am must certain I have tried that and was rewarded with a 'Device not
>>found error'
mmm,this is the right name.
you can use "info block" monitor command to see name
# info block
drive-virtio1: removable=0 io-status=ok file=/mnt/pve/netapp-Vserver-pnfs/images/vm200/vm-200-disk-1.raw ro=0 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
drive-virtio0: removable=0 io-status=ok file=/mnt/pve/netapp-Vserver-pnfs/images/vm200/vm-200-disk-2.raw ro=0 drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0
you can have a look at qmp resize command in proxmox code (QemuServer.pm), it's using drive device as argument.
----- Mail original -----
De: "Michael Rasmussen" <mir at datanom.net>
À: pve-devel at pve.proxmox.com
Envoyé: Mercredi 9 Janvier 2013 07:39:06
Objet: Re: [pve-devel] Storage migration: online design solution
On Wed, 09 Jan 2013 03:34:01 +0100 (CET)
Alexandre DERUMIER <aderumier at odiso.com> wrote:
>
> drive-virtioX
> drive-ideX
> drive-scsiX
> drive-sataX
>
I am must certain I have tried that and was rewarded with a 'Device not
found error'
--
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
--------------------------------------------------------------
Not all men who drink are poets. Some of us drink because we aren't
poets.
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
_______________________________________________
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