IncusOS & iSCSI

I have some iSCSI shares exported from TrueNAS. IncusOS docs say I should be able to use them for a pool, but I can’t find much info (beyond this) on how to do it… I edited iscsi service config to look like this:

config:
 enabled: true
 targets:
 - address: 192.168.1.10
   port: 3260
   target: iqn.2005-10.org.freenas.ctl:test

This seems to work, the log says:

Connection2:0 to [target: iqn.2005-10.org.freenas.ctl:test, portal: 192.168.1.10,3260] through [iface: default] is operational now

Where do I go from there? How do I actually create a pool?..

Check the storage API, you should see the remote disk in there with its identifier.

After that, it depends on your setup as far as what you want to do with it.

Currently external disks can only be used directly by Incus as the source for a regular storage pool or as part of lvmcluster.

I think we should be able to relax the restriction on managed ZFS pools having to be created on local disks, but that would need good documentation to avoid confusion.