I tried the same command with Focal 5.4.0-1089-gkeop in 2024.03.04 cycle, and it's failing with the same issue.
$ sudo lxc storage create zfs zfs size=2GiB Error: Required tool 'zpool' is missing $ uname -a Linux f-lgkeop-gkeop-5-4-e2hcpu8-u-overlayfs-smk-test 5.4.0-1089-gkeop #93-Ubuntu SMP Wed Mar 13 18:13:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
This looks like a regression in LXD to me.
I tried the same command with Focal 5.4.0-1089-gkeop in 2024.03.04 cycle, and it's failing with the same issue.
$ sudo lxc storage create zfs zfs size=2GiB gkeop-5- 4-e2hcpu8- u-overlayfs- smk-test 5.4.0-1089-gkeop #93-Ubuntu SMP Wed Mar 13 18:13:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Error: Required tool 'zpool' is missing
$ uname -a
Linux f-lgkeop-
This looks like a regression in LXD to me.