Skip to content

Commit

Permalink
Merge pull request #13342 from ru-fu/zfs-issue-faq
Browse files Browse the repository at this point in the history
doc/faq: add an entry about ZFS 2.1 being required
  • Loading branch information
tomponline authored Apr 17, 2024
2 parents 03ce8a1 + 9a45b25 commit 3fef7cb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions doc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,18 @@ The easiest fix for this problem is to stop the VPN client and unmount the `net_

If you need to keep the VPN client running, mount the `net_cls` cgroup1 in another location and reconfigure your VPN client accordingly.
See [this Discourse post](https://discuss.linuxcontainers.org/t/help-help-help-cgroup2-related-issue-on-ubuntu-jammy-with-mullvad-and-privateinternetaccess-vpn/14705/18) for instructions for Mullvad VPN.

## Why does LXD not start on Ubuntu 20.04 or earlier?

If you are running LXD on Ubuntu 20.04 or earlier, you might be missing support for ZFS 2.1 in the kernel (see the {ref}`requirements <requirements-zfs>`).

If LXD fails to start, check the `/var/snap/lxd/common/lxd/logs/lxd.log` log file for the following error to see if the reason is missing ZFS support:

Error: Required tool ‘zpool’ is missing

If you are on Ubuntu 20.04, you can resolve the issue by installing the HWE kernel and rebooting the nodes to provide the required kernel drivers for ZFS 2.1:

sudo apt-get update
sudo apt-get install linux-generic-hwe-20.04

If you are on earlier versions of Ubuntu, you should use a compatible LTS release of LXD.
1 change: 1 addition & 0 deletions doc/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ should also be installed.
For virtual machines, QEMU 6.2 or higher is required. Some features like
Confidential Guest support require a more recent QEMU and kernel version.

(requirements-zfs)=
## ZFS

For the ZFS storage driver, ZFS 2.1 or higher is required. Some features
Expand Down

0 comments on commit 3fef7cb

Please sign in to comment.