網路城邦
上一篇 回創作列表 下一篇   字體:
ubuntu 16 nfs
2020/09/18 15:24:35瀏覽80|回應0|推薦0

ubuntu16 nfs

sudo apt-get install nfs-kernel-server

sudo gedit /etc/exports

/home/gcat *(rw,sync,no_subtree_check,no_root_squash)

sudo service nfs-kernel-server restart

sudo showmount -e localhost

dmesg
[ 5180.437281] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory

//---vm ubuntu 12 client

sudo apt-get install nfs-common


//---fl_am5718 client

sudo apt-get install nfs-common

showmount -e 192.168.0.102

mount -t nfs 192.168.0.102:/home/gcat ~/nfs1

==========

error :

$ sudo mount -t nfs 192.168.0.104:/gcat/home ~/nnn

mount.nfs: access denied by server while mounting 192.168.0.104:/gcat/home

debug:

$ showmount -e 192.168.0.104

Export list for 192.168.0.104:

/home/gcat *

root casue : typo ,  change from

/gcat/home

to

/home/gcat

( 不分類不分類 )
回應 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=greatcat&aid=150759411