Incus import command on TrueNAS Fangtooth

Yeah, it does.

Ideally you’d want to create two large custom volumes and then set storage.backups_volume and storage.images_volume to point to those, avoiding the writes on the boot disk.

That’d also be a strong recommendation on the TrueNAS folks to have this done by default when setting up Incus. TrueNAS already asks what pool to use, so then creating a couple of volumes on it should be easy to do during setup.

You can do it manually over the CLI with:

  • incus storage volume create default backups
  • incus storage volume create default images
  • incus config set storage.backups_volume default/backups
  • incus config set storage.images_volume default/images

That assumes the Incus storage pool is named default, I don’t remember if that’s the case on TrueNAS.

1 Like