Maximum number of devices?

I wonder is there a limit to device list (disks) attached to lxd container?
I have an idea to assign to every user home directory a ZFS disk device
so they can restore ZFS snapshots only for their data

regards

Nope, no real limits, they’re just mount table entries, so if you hit the thousands, mount table traversal may get a bit slow, but I’ve seen systems with tens of thousands of mount entries and no actual issues other than slowdowns.

thx
Is there any cons with that approach?
slow start/stop of containers?
slow storage?

I wonder if I can do this with dbs mysql also?

regards

Storage won’t slow down, startup will likely be slower but whether it’s noticeable is unclear.