For the complete documentation index, see llms.txt. This page is also available as Markdown.

在 Ubuntu 中启用 ZFS 支持

安装

注意

如果你想将 ZFS 用作根文件系统,请参阅下方“以 ZFS 为根文件系统”相关页面。

在 Ubuntu 上,ZFS 已包含在默认的 Linux 内核包中。要安装 ZFS 工具,请先确保在 /etc/apt/sources.list 中启用了 universe:

deb http://archive.ubuntu.com/ubuntu <Ubuntu 版本代号> main universe

然后安装 zfsutils-linux:

apt update
apt install zfsutils-linux

最后更新于