pve/pbs创建zfs存储时报错:Error during 'zpool create', see task log for more details

同时zfs页面可能会有这样的信息:Bad Request (400)<br>command &quot;zpool&quot; &quot;list&quot; &quot;-H&quot; &quot;-p&quot; &quot;-P&quot; failed - status code: 1 - The ZFS modules cannot be auto-loaded. Try running &#39;modprobe zfs&#39; as root to manually load them.

原因可能是:ZFS内核模块根本没安装

执行以下命令安装模块:

apt install build-essential dkms linux-headers-$(uname -r) -y #安装依赖
apt remove zfsutils-linux -y #重新安装 ZFS(强制用 Debian版本)
apt install zfs-dkms zfsutils-linux -y #安装 Debian 原版:zfsutils
modprobe zfs #加载模块
zfs version #验证
zpool list

image.png

评论
暂无评论

登录后可发表评论

点击登录