Clone a single disk into VM

jtracy

Member
Aug 30, 2018
43
4
13
50
I have an application that we have lots of VMs where we test different version of it but the data it uses is the same across all of them. I can't setup a network filesystem for this due to security reasons. I would like to be able to do a linked clone of just the disk that holds the common data. Is there a way to do this? Thanks.
 
ZFS and QCOW2 can create linked clones, but there is no way in PVE to do this via the GUI/CLI/API, you need to do this manually.

In both setups, just create a disk via the GUI that has the same size as the one you want to manually clone. Then go to the cli and delete the underlying file or zfs dataset and create a linked clone (QCOW2) or clone the snapshot (ZFS).
 
  • Like
Reactions: jtracy

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!