[pve-devel] Storage migration: online design solution

Michael Rasmussen mir at datanom.net
Wed Jan 9 02:23:11 CET 2013


Hi all,

Doing online storage migration will involve the following phases:
Phase 1) Create remote block device
Phase 2) Connect this block device to NBD (nbd_server_add [-w] device)
Phase 3) Start nbd_server (nbd_server_start [-a] [-w] host:port)
Phase 4) "drive-mirror", "arguments": {"device": "ide-hd0",
                                       "target": "nbd:host:port",
                                       "sync": "full",
                                       "format": "(qcow2|raw)" }
Phase 5) "drive-reopen", "data": {"device": "ide-hd0",
                                  "new-image-file": "new block device",
                                  "format": "(qcow2|raw)"}
Phase 6) Stop nbd_server (nbd_server_stop)
Phase 7) Remove old block device

Have I missed something?

PS. I am struggling with this '"device": "ide-hd0"'. What is the
correct way of specifying a block device in proxmox given the following
configuration: virtio2: pve-storage1_lvm:vm-102-disk-1,size=2G

-- 
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
--------------------------------------------------------------
There is nothing stranger in a strange land than the stranger who comes
to visit.
-------------- 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/e4158f81/attachment.sig>


More information about the pve-devel mailing list