How-to configure filesystem driver (xfs,btrfs,etc..) for containers on a LVM pool

Hi,

Instantiating a container instance on a LVM storage pool results in a ext4 storage backbend, is it possible to define different storage driver such as btrfs? I can see there’s a something about storage configuration and block.filesystem in the docs

I’m looking for something like:
incus launch images:archlinux -s lvmpool -d root,block.filesystem=btrfs

incus storage set lvmpool volume.block.filesystem=btrfs

1 Like

Thanks @stgraber
Anyway of doing it per instance?

Try:

incus launch images:archlinux -s lvmpool -d root,initial.block.filesystem=btrfs`

This is a somewhat new and underused feature so hopefully it will work as designed :slight_smile:

1 Like