- check nfs service
lssrc -g nfs , check nfsd, rpc.mounted is active
start nfs services group : startsrc -g nfs
start single service : startsrc -s nfsd - 服务器添加需要export的FS
smit mknfsexp - export服务器的FS
/usr/sbin/exportfs -a - 检查export的情况
# hostnamet -e
APP1
# showmount -e APP1
export list for APP1: - 检查服务器端的/etc/hosts
定义客户端的信息
172.22.93.26 totoro.pacs.vghtc.gov.tw totoro - restart nfs service
stopsrc -g nfs
startsrc -g nfs
Client Side
- 加入 /etc/hosts
- mount -t nfs f3n3:/worktmp/nmon /worktmp/f3n3 -o nfsvers=2
Note :
- mount.nfs: Remote I/O error
mount 時需加上 -o nfsvers=2