What is the proper way to create storage devices for containers from the command line?
I did not find enough info in the wiki command line tools talking about this.
Example,
I wish to create a container from the command line and seems I need to create the storage device first:
Best regards.
I did not find enough info in the wiki command line tools talking about this.
Example,
I wish to create a container from the command line and seems I need to create the storage device first:
Code:
pct create 103 local:vztmpl/debian-8.0-standard_8.7-1_amd64.tar.gz -rootfs local-lvm:vm-103-disk-1,size=40G
mount: special device /dev/pve/vm-103-disk-1 does not exist
mounting container failed
command 'mount /dev/pve/vm-103-disk-1 /var/lib/lxc/103/rootfs//' failed: exit code 32
Best regards.