I try to recover the default pool from a broken incus server. The zpool is fine but when incus tries to recover the found containers it fails due to a missing custom volume although the volume is in the found volumes:
The recovery process will be scanning the following storage pools:
- EXISTING: "pool1" (backend="zfs", source="pool1")
- NEW: "default" (backend="zfs", source="/dev/sdd")
Would you like to continue with scanning for lost volumes? (yes/no) [default=yes]:
Scanning for unknown volumes...
The following unknown storage pools have been found:
- Storage pool "default" of type "zfs"
The following unknown volumes have been found:
- Container "alf-test" on pool "default" in project "default" (includes 0 snapshots)
- Container "dms" on pool "default" in project "default" (includes 22 snapshots)
- Container "dms-test" on pool "default" in project "default" (includes 5 snapshots)
- Container "rproxy" on pool "default" in project "default" (includes 22 snapshots)
- Volume "alfdata-20160428" on pool "default" in project "default" (includes 0 snapshots)
- Volume "alfdata-20160516" on pool "default" in project "default" (includes 0 snapshots)
- Volume "var" on pool "default" in project "default" (includes 0 snapshots)
- Volume "alfdata" on pool "default" in project "default" (includes 30 snapshots)
- Volume "images" on pool "default" in project "default" (includes 0 snapshots)
- Container "alf-appliance-5" on pool "default" in project "archive" (includes 0 snapshots)
- Container "alf-appliance-74" on pool "default" in project "archive" (includes 0 snapshots)
Would you like those to be recovered? (yes/no) [default=no]: yes
Starting recovery...
Error: Failed import request: Failed creating instance "alf-appliance-5" record in project "archive": Failed creating instance record: Failed initializing instance: Failed add validation for device "alfdata": Failed loading custom volume: Storage volume not found
Has anyone an idea how to work around this? Maybe this is a side effect of the new dependant volumes?
Is there a way to overwrite/bypass/manipulate that config, so I could just import as it is?