[root@localhost Server]# /etc/init.d/nfs start
Starting NFS services: exportfs: /etc/exports:1: unknown keyword "no_boot_squash"
[FAILED]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
重启NFS服务器
[root@localhost Server]# /etc/init.d/nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [FAILED]
Starting NFS services: exportfs: /etc/exports:1: unknown keyword "no_boot_squash"
[FAILED]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
最后,使用mount命令来挂载NFS服务器上的共享目录
#mount -t nfs servername :/shared_dir /localdir
例如:
#mount -t nfs 10.168.1.100 :/home /mnt/nfs