nfs

這是本文件的舊版!


NFS

Server

/etc/exports or if using zfs /etc/zfs/exports

/usr/home/nfs/public -maproot=root 10.130.48.166
/usr/home/nfs/private -maproot=root -ro 10.130.48.166

if exports is edited, use service mountd reload to reload

add following to rc.conf

rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_enable="YES"
mountd_flags="-r"

start nfs server

service nfsd start

Client

nfs_client_enable="YES"

start nfs client

service nfsclient start
  • nfs.1483522745.txt.gz
  • 上一次變更: 2017/01/04 17:39
  • 127.0.0.1