[SOLVED] Problem convert template!

jimmy57000

New Member
Feb 21, 2016
22
1
3
23
Hello,

I have this error with convert my VM (LXC) to template

Directory storage 'local' does not support container templates! (500)

Ideas ?


Thanks you !
 
  • Like
Reactions: Jaime Hablutzel

jimmy57000

New Member
Feb 21, 2016
22
1
3
23
I can not understand the documentation ..

I need to reinstall my node or run some commands?

Thanks again !
 

jimmy57000

New Member
Feb 21, 2016
22
1
3
23
In fact, I do not know if I have to create a template.
Distributions (linux) proposed not root enabled.

Do you have a solution for it to be activated automatically?

I did not actually find an answer to my question on google.

Thanks!
 

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
5,962
397
103
What you try to do?
Do you have a default PVE installation with default settings or did you change anything?
 

doman18

New Member
Oct 20, 2018
6
0
1
34
Well i have similar problem. My storage with ext4 already contains some container templates but i cant make my own. Its not big issue but i have such preconfigured templates on other machine and its handy to have such nonwriteable clones for making new containers
 

Attachments

wolfgang

Proxmox Staff Member
Staff member
Oct 1, 2014
5,962
397
103
Hi doman18
LXC container needs a storage what supports snapshots. Dir Storages do only support snapshots if you use qcow2, but cow2 is not working with LXC.
 

Jaime Hablutzel

New Member
Jun 21, 2018
10
5
3
31
I had the same problem after installing PVE on top of a regular Debian (i.e. without using the PVE ISO Image), so I had to do something like this to be able to create templates:

1. Reduce the size of my root partition (this was providing the Directory Storage).
2. Use the newly freed space to create a new blank partition.
3. Set up the new partition with LVM.
4. Transform LVM to LVM Thin (not sure what I did here).
5. Allow this new storage to be used for "Disk image" and "Container" in the PVE Datacenter level.
 
  • Like
Reactions: jimmy57000

jimmy57000

New Member
Feb 21, 2016
22
1
3
23
I had the same problem after installing PVE on top of a regular Debian (i.e. without using the PVE ISO Image), so I had to do something like this to be able to create templates:

1. Reduce the size of my root partition (this was providing the Directory Storage).
2. Use the newly freed space to create a new blank partition.
3. Set up the new partition with LVM.
4. Transform LVM to LVM Thin (not sure what I did here).
5. Allow this new storage to be used for "Disk image" and "Container" in the PVE Datacenter level.
Hello,

Do you have more information?
I have created a partition for templates !

/dev/sda6 5277487104 5860533134 583046031 278G Linux LVM

Unfortunately, after I do not know what to do ..!

Thanks you advance !
 

Jaime Hablutzel

New Member
Jun 21, 2018
10
5
3
31
I'm not an expert on this matter neither but I think that you completed:

3. Set up the new partition with LVM.
So you already have a new LVM logical volume (LV), don't you?. Anyway, read https://www.digitalocean.com/commun...on-to-lvm-concepts-terminology-and-operations just to be sure you understand the LVM concepts.

And then...

4. Transform LVM to LVM Thin (not sure what I did here).
For this, follow the instructions (only the introduction) at https://pve.proxmox.com/wiki/Storage:_LVM_Thin.

5. Allow this new storage to be used for "Disk image" and "Container" in the PVE Datacenter level.
You can make it from the PVE GUI. Take a look at the following attached image:

2019-05-18 21_59_03-blobfish-30 - Proxmox Virtual Environment.png
 
  • Like
Reactions: jimmy57000

jimmy57000

New Member
Feb 21, 2016
22
1
3
23
I'm not an expert on this matter neither but I think that you completed:



So you already have a new LVM logical volume (LV), don't you?. Anyway, read https://www.digitalocean.com/commun...on-to-lvm-concepts-terminology-and-operations just to be sure you understand the LVM concepts.

And then...



For this, follow the instructions (only the introduction) at https://pve.proxmox.com/wiki/Storage:_LVM_Thin.



You can make it from the PVE GUI. Take a look at the following attached image:

View attachment 10327
Hello,
Created !
After template créated, can not use the templates..
It's complicated anyway ^^

In any case your method works
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!