After fiddling with OpenTofu and some pools and volumes in a custom created project, I ended up with an error regarding ZFS pool management.
at 20:24:41 ❯ incus storage delete immich
Error: ZFS pool has leftover datasets: custom/immich_immich_cache_volume
However, the pool itself is empty according to Incus:
at 20:25:26 ❯ incus storage volume list immich
+------+------+-------------+--------------+---------+
| TYPE | NAME | DESCRIPTION | CONTENT-TYPE | USED BY |
+------+------+-------------+--------------+---------+
incus storage shows the following:
at 20:25:27 ❯ incus storage show immich
config:
size: 60GiB
source: /var/lib/incus/disks/immich.img
zfs.pool_name: immich
description: ""
name: immich
driver: zfs
used_by: []
status: Created
locations:
- none
As I’m on IncusOS (6.20) it appears my options are limited now. How should I recover from this?
I’m inclined to leave it for now. The data is recoverable and it was in a test set-up, so I’m thinking this is more of a glitch of the matrix than anything else. I haven’t seen this on my non-virtualized Incus instance so far