Your best option is probably to do something like:
lxc storage create DATA zfs source=DATA/lxd
lxc move NAME --storage DATA
lxc profile device set default root pool DATA
lxc storage delete LXC
So effectively adding a new pool to LXD which is backed by your existing zpool, then move the containers over to it through LXD and once empty, remove the old pool, after setting the new one as the default for new containers.
@SERVER:~$ sudo lxc move rproxy --storage DATA
Description:
Move containers within or in between LXD instances
Usage:
lxc move [<remote>:]<container>[/<snapshot>] [<remote>:][<container>[/<snapshot>]] [flags]
...
Error: Invalid number of arguments
I tried to sudo lxc move rproxy rproxy --storage DATA to keep the same name but that didn’t work either. I’m assuming I’ll need to move them all to a new name and then rename. i tried that and received this error Error: Failed to run: rsync -a -HAX --sparse --devices --delete --checksum --numeric-ids --xattrs --bwlimit 0 -q /var/snap/lxd/common/lxd/storage-pools/LXC/containers/rproxy/ /var/snap/lxd/common/lxd/storage-pools/DATA/containers/rproxy2: rsync: read errors mapping "/var/snap/lxd/common/lxd/storage-pools/LXC/containers/rproxy/rootfs/usr/include/asm-generic/auxvec.h": Input/output error (5)