ZFS数据集在重新启动后消失
我已经在Centos 7中安装了ZFS(0.6.5),并且还创建了一个zpool,除了我的数据集在重新启动后消失之外,其他所有功能都可以正常工作。 我一直在尝试借助各种在线资源和博客来调试此问题,但无法获得理想的结果。重新启动后,当我发出zfs list命令时,我得到“没有可用的数据集”,并zpool list给出“没有可用的池” 在进行了很多在线研究之后,我可以通过使用zpool import -c cachefile手动导入缓存文件来使其工作,但是我仍然必须在重新启动之前运行zpool set cachefile = / etc / zfs / zpool.cache池,以便稍后在重新启动后将其导入。 这是什么systemctl status zfs-import-cache 看起来像, zfs-import-cache.service - Import ZFS pools by cache file Loaded: loaded (/usr/lib/systemd/system/zfs-import-cache.service; static) Active: inactive (dead) cat /etc/sysconfig/zfs # ZoL userland configuration. # Run `zfs mount -a` during system …