I just installed LXD 2.18 on my Ubuntu 17.10 and noticed the following:
$ zfs create ssdpool/lxd NAME USED AVAIL REFER MOUNTPOINT ssdpool 54.3M 57.6G 192K /ssdpool ssdpool/ccache 39.6M 985M 39.6M /ssdpool/ccache ssdpool/lxd 192K 57.6G 192K /ssdpool/lxd $ lxd init (...) Create a new ZFS pool (yes/no) [default=yes]? no Name of the existing ZFS pool or dataset: ssdpool/lxd $ zfs list NAME USED AVAIL REFER MOUNTPOINT ssdpool 54.1M 57.6G 192K /ssdpool ssdpool/ccache 39.6M 985M 39.6M /ssdpool/ccache
lxd init runs into any kind of error (network related in my case), it will silently destroy
ssdpool/lxd, even though it wasn’t tasked with creating it. I don’t know if this has been fixed in more recent versions, but I would consider that an oversight.