[SOLVED] Linked clone feature for 'local:114/vm-114-disk-0.raw' is not available

Tim Unkrig

Active Member
Dec 14, 2018
7
0
41
36
Hi there,

I am figuring out a strange problem and I dont know what else to do.

I have the latest major Version 6.3.3 installed and I would like to make a linked cloned container on a local storage pool. But I get this error message:

Code:
Linked clone feature for 'local:114/base-114-disk-0.raw' is not available

Here is my storage settings.cfg:

Code:
dir: local
    path /var/lib/vz
    content backup,vztmpl,snippets,iso,images,rootdir
    prune-backups keep-all=1
    shared 1

and the container template config:

Code:
arch: amd64
cores: 1
hostname: tmptemp
memory: 512
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=DA:6C:AE:A3:EB:FA,type=veth
ostype: ubuntu
rootfs: local:114/base-114-disk-0.raw,size=8G
swap: 512
template: 1
unprivileged: 1




I saw that for VM linked clones "local" storage is suitable, is that NOT the same for lxc container? Or is there anyhing else what I need to consider? I couldn´t find any information about it...

Any help is highly appreciated!
 
saw that for VM linked clones "local" storage is suitable, is that NOT the same for lxc container?
no because on file based storages the qow2 format is necessary to provide linked clones
and containers do not support the qcow2 format

in general you need a storage where snapshots are possible to be able to use linked clones (e.g. zfs/ceph/lvmthin, or file-based with qcow2)
 

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!