Vms only lxd init (no storage pool needed?)

If I want to use LXD only for vms (never containers) what happens at lxd init with the storage?

Assumption: Containers use storage but vms are self contained (correct or not?)

I just want a bunch of self contained vms with the storage inside not outside in a pool.

I don’t want container type behavior - where the storage pool is handling what is going on outside of the container. I would like just simple vms where everything happens inside each vm.

I’ve tried and tried with containers but the daemons I’m running just don’t run properly inside lxd containers (they run fine in vms)

lots of strange FUTEX errors in containers

futex(0x7fff1f495a50, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fff1f495aa0, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=5428, tv_nsec=552224492}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out)

Thank you.

VMs use the same storage pool concepts as containers. Their collective term is instances.

You can create a Dir storage pool of an arbitrary directory though and put your instance(s) in that

lxc storage create mypool dir source=/some/directory
lxc launch images:ubuntu/jammy --vm -s mypool

do the vms handle there own cpu ram or is it like containers where they are sharing pools of mem/cpu?

the pools part is not good

Yes vms have their own kernel unlike containers.

so they don’t use storage pools?

They do. Each VM has a block volume on the storage pool it is created on.