[SOLVED] Move VM storage from local to vmdata?

rcd

Well-Known Member
Jul 12, 2019
246
25
58
63
I created a VM on storage:local instead of storage:vmdata by mistake.

Is there a way to move it?

I guess it also needs to be changed/converted from qcow2 to raw?

Code:
# pvesm status
Name          Type     Status           Total            Used       Available        %
local          dir     active      2147483648      1920493440       226990208   89.43%
vmdata     zfspool     active      1628160690       842005751       786154938   51.72%
# pvesm list local
Volid                                                     Format  Type              Size VMID
local:101/vm-101-disk-0.qcow2                             qcow2   images     34359738368 101
...
# pvesm list vmdata
Volid                 Format  Type              Size VMID
vmdata:vm-100-disk-0  raw     images    214748364800 100
...
 
you can use the 'move disk' feature..
 
That was easy, thanks!

(PVE: Datacenter > Server > VM > Hardware > Hard Disk)
 
  • Like
Reactions: fabian