Adding a new storage pool

I have linode which host lxd (the machine run on ubuntu 22.04)
I provisionned a new volume 100GB and attached to the linode instance
I want to use that volume as storage pool (btrfs or zfs)
so can you show me how to do so?
Thanks in advance

You can do lxc storage create <pool name> zfs source=/dev/<volume device>.

This will create a ZFS pool on the device.

Then you can launch instances on it using lxc launch <name> <image> --storage <pool name>


Also see :slight_smile:

1 Like