Defining root disk path when creating container


I am trying to do some backup/clustering setup where I would not use LXD clustering but rather ZFS snapshoots/send/receive.

I am wondering is it possible to create LXC container with something like --storage my/zfs/dataset predefined ?

Idea is to create dataset(s), feed them with data from “primary” LXD server (zfs send/receive) and then create containers on “backup” server with already filled dataset/disk

ty. , A.

Last attempt to bump this :blush:

You can use multiple standalone lxd servers each using a zfs storage pool and then use each server as an lxc remote to copy between the servers, this would use zfs send receive under the hood.