Suppose my container has 1 disk /dev/xvda but I want to add an additional disk (disk /dev/xvdb) to my container from zfs . Is it possible? How can I do it?
If you mount the block device’s filesystem on the host then you can share the directory into the container using:
lxc config device add <instance> mydisk source=/host/path path=/path/inside/container