move storage of templates and clones?

m.ardito

Famous Member
Feb 17, 2010
1,473
17
103
Torino, Italy
Hi,

I tried a template and linked cloning, and now I need to move their storage elsewhere

template has
virtio0: iso_qnap:110/base-110-disk-1.qcow2,format=qcow2,size=8G

and linked clone
virtio0: iso_qnap:110/base-110-disk-1.qcow2/112/vm-112-disk-1.qcow2,format=qcow2,size=8G

How to handle storage move in order to keep linked clones working?

Marco
 
yes, but in order to move them to other storage how can I do? I guess I'll have to
- stop vm clones
- move template storage (qm move, from the web gui?) to new share
- then? will "qm move" work for clones? and fomr web gui too?

or I have to move clone storage manually? like
- first move (qm move from cli) 112/vm-112-disk-1.qcow2
- then edit 112.conf to reflect new storage (base and vm clone own)

Or (any simpler way)?

Marco
 
To be honest I don't think it is supported to move a linked clone since the linking of a clone to a base image might involve storage specific features which likely will not be transferable to another storage. Think of a linked clone like a hardlink in a file system (a hardlink cannot span partitions).
 

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!