Convert to template not working if with bind mounts?

luison

Renowned Member
Feb 22, 2010
109
4
83
Spain
alsur.es
Hi. I was trying to test the possibilities of converting a container to template. Also wanted to test the possibilities of "linked clones" but I've discovered that as I understand no template or cloning possible if bind mounts are included on the container.

unable to clone mountpint 'mp3' (type bind) (500)

Different, but related error when I try to convert to template. Perhaps someone can confirm this limitation exists and if there are any workaround, otherwise perhaps this can be consider a future suggestion maybe also linked to an old question (https://forum.proxmox.com/threads/use-of-variables-in-lxc-conf-files.29904/) regarding the possibility that existed on OpenVZ of using $vars on configurations file, at least one for the containersID.

mp2: /logs/$VMID,mp=/logs

could then be cloned to a new system
 

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!