Failed to start LXD - main daemon. ZFS storage pool "default" could not be imported: cannot import 'default': I/O error

Hi all, my lxc container can’t start normally, when I check the lxd.service , it shows like that:


when i use “zpool import -F default” to fix it, the system shows that “no such pool availabel”, after input the zpool status in command line, the result is “no such pool availabel”, too.

user@ubuntu:/$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
user@ubuntu:/$ lxc version
Client version: 3.0.3

problem is solved
run

sudo zpool import -d /var/lib/lxd/disks/ default -F

in command line
the “default” is the name of pool
and /var/lib/lxd/disks/ is the path while pool(default.img) exists
:grinning:

1 Like