gaia
1
$ lxc storage volume create hdd backup-vol0 --type block --format ext4 size=1024GiB
Error: unknown flag: --type
and the default is filesystem. I need to attach a block device to the VM.
$ lxc storage show hdd
config:
source: /mnt/storage-hdd/lxc
description: ""
name: hdd
driver: dir
used_by: []
status: Created
locations:
- none
LXC 4.0.9. Dir driver on top of LVM LVs
stgraber
(Stéphane Graber)
2
Your LXD is too old for that.
1 Like
gaia
3

tracking: 4.0/stable/ubuntu-22.04
refresh-date: 2022-03-26
shoot, why was it tracking 4.0 instead of latest/stable?
gaia
4
thank you Stéphane! updated (see above).
how does one set the size of the block volume? it’s 10GB but I need 1TB.
stgraber
(Stéphane Graber)
5
lxc storage volume set POOL VOLUME size=1TiB
1 Like