挂载nfs

2020-08-19  本文已影响0人  teeth

一、nfs3

# /mnt/nfs_0421 *(rw,no_root_squash,no_all_squash,sync)
/mnt/nfs_0421 *(rw,fsid=0,sync,no_wdelay,insecure_locks,no_root_squash)
# /mnt/aaa  *(rw,sync,no_root_squash,no_subtree_check,fsid=0)
# showmount -e
Export list for 192_168_206_12:
/mnt/nfs_0421 *
# showmount -e 192.168.206.12
Export list for 192.168.206.12:
/mnt/nfs_0421 *

出的问题

(1)nfs服务端起不来

FS-237:/home/zxdfs/log # showmount -e clnt_create: RPC: Program not registered 解决:service nfs-server start

(2)nfs-server服务起不来

 # service nfs-server start
Job for nfs-server.service failed. See "systemctl status nfs-server.service" and "journalctl -xn" for details.

可能是现有的/etc/export中的目录不存在,把删掉就行

二、nfs4

参考

https://www.cnblogs.com/Dy1an/p/10536093.html

pNFS

上一篇 下一篇

猜你喜欢

热点阅读