小编Jai*_* R.的帖子

在 Ubuntu 16.04 上重新设置 sharenfs 属性之前,不会导出 ZFS 共享

我正在 Ubuntu Server 16.04LTS 上设置 ZFS 和 NFS,但有一个奇怪的问题让我发疯。我已经使用 ZFS 共享设置了 ZFS 和 NFS,如https://pthree.org/2012/12/31/zfs-administration-part-xv-iscsi-nfs-and-samba/ 中所述。正如您在下面的日志中看到的那样,尽管我已将 zfs-share 设置为zfs share -a在引导期间运行,但仍然没有导出共享。更奇怪的是, zfs share -a当我手动运行它时仍然没有。如果我重置sharenfs其中一个共享的属性然后重新运行,我只能让 zfs 共享工作zfs share -a。见下文

$ showmount -e
Export list for apu:
/mnt localhost
$ sudo zfs share -a
$ showmount -e
Export list for apu:
/mnt localhost
$ sudo zfs share pool1
cannot share 'pool1': filesystem already shared
$ sudo zfs get sharenfs pool1
NAME   PROPERTY  VALUE     SOURCE
pool1  sharenfs …
Run Code Online (Sandbox Code Playgroud)

ubuntu zfs nfs zfsonlinux

5
推荐指数
1
解决办法
3317
查看次数

标签 统计

nfs ×1

ubuntu ×1

zfs ×1

zfsonlinux ×1