[PVE-User] how to moving vm disk image from one(old) to new one in the physical disk by lvm, and not by create new vm!
Muhammad Yousuf Khan
sirtcp at gmail.com
Mon Sep 26 11:15:39 CEST 2011
there is an option in web console to add a new hard drive in hardware tab.
copy source image to the actual destination where new machine hard drive is
stored.if you want to boot from the old image then delete new machines hard
drive and add 115 image drive.if you willing to run it like a slave then add
it as a secondary hard drive (which i never did) , regardless
of sequence number or image name it will add and work like charm. this is
how i did. hopefully it also works for you.
On Mon, Sep 26, 2011 at 9:27 AM, lu lyt <lingqi2008 at gmail.com> wrote:
> Pls Help me, How to moving disk image from one to new one
> in the physical disk by lvm , and not by create new vm & install new system!
> beacause i want the contents of old vm disk image same to new vm
> # lvs -o +lv_tags
> LV VG Attr LSize Origin Snap% Move Log Copy% Convert LV Tags
> vm-115-disk-1 disk4 -wi-a- 16.00G pve-vm-115
> vm-116-disk-1 disk4 -wi-a- 16.00G pve-vm-116
> data pve -wi-ao
> root pve
> -wi-ao 96.00G
> swap pve -wi-ao 23.00G
> as above:
> vm-115 is the old vm, and vm-116 is new vm, and the disk img of
> vm-116-disk-1 is none file & no system in it!
> i want to use vm-116 by moving from vm-115,and vm-115 is also can use it;
> I trid this links
> but last, vm-116 can run it, but vm-115 have no the file of vm-115 disk
> image(It's had moving disk image from 115 to 116!)
> disk4 is alone vg,and like this to do:
> pvcreate /dev/sdi
> vgcreate disk4 /dev/sdi
> anyone have new idea to do it ?
> pve-user mailing list
> pve-user at pve.proxmox.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pve-user