[SOLVED] Move VM storage from local to vmdata?

rcd

Active Member
Jul 12, 2019
245
23
38
62
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!