I dont understand the correct syntax for pct set to mount la local loop device from a raw file.
I have a *.raw file which was converted from a kvm VM (qcow2 converted to raw). It contains mass data and shall be attached into a lxc container. As far as I understand https://pve.proxmox.com/wiki/Linux_Container#pct_container_storage , the correct syntax would be
But for this I only get
??
And I also see no way to handle an already existing *.raw volume. In the WEB UI "Create Mount Point" only allows to create a moint point and the underlying raw file, but not to attach an already existing file.
I have a *.raw file which was converted from a kvm VM (qcow2 converted to raw). It contains mass data and shall be attached into a lxc container. As far as I understand https://pve.proxmox.com/wiki/Linux_Container#pct_container_storage , the correct syntax would be
Code:
pct set 116 mp1:volume=data:116/vm-116-disk-2.raw,mp=/mnt/data2,backup=1,size=98G
But for this I only get
Code:
400 too many arguments
??
And I also see no way to handle an already existing *.raw volume. In the WEB UI "Create Mount Point" only allows to create a moint point and the underlying raw file, but not to attach an already existing file.
Last edited: