我正在關注「Geting started with Juju」步驟。lxd init失敗,說zfs丟失,但已安裝
作爲先決條件,我已經安裝了LXD和ZFS。
[email protected]:/# which lxd /usr/bin/lxd [email protected]:/# which zfs /sbin/zfs
但是當我運行lxd init
並選擇zfs
作爲存儲後端它不能說ZFS丟失。
[email protected]:/# lxd init Name of the storage backend to use (dir or zfs) [default=dir]: zfs error: The requested backend 'zfs' isn't available on your system (missing tools).
即使我嘗試重新安裝ZFS,它說已經安裝。
[email protected]:/# apt install zfsutils-linux Reading package lists... Done Building dependency tree Reading state information... Done zfsutils-linux is already the newest version (0.6.5.8-0ubuntu4.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我不知道什麼是錯的,否則我已經錯過了什麼。
您是否試過將_-- storage-pool = POOL_傳遞給_lxd init_命令? – airhuff
@airfuff'lxd init --storage-pool = POOL' **'錯誤:初始化配置只對--auto有效** – ASR
您使用單詞'POOL'還是_your_池的名稱?無論如何,那個錯誤信息表明我的想法不適合你。 – airhuff