nfs用于unix/linux平台。是一套文件系统,可用于比如oracle rac,vmware vsphere的共享存储。
[root@nfs /]# cat /etc/exports
/dev/sdb1 /nfs1 nfs defaults 0 0
/dev/sdc1 /nfs2 nfs defaults 0 0
[root@infrastructure ~]# chkconfig --list | grep nfs
nfs 0:off 1:off2:off 3:off 4:off5:off 6:off
nfs-rdma 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[root@infrastructure ~]# chkconfig nfs on
[root@infrastructure ~]# chkconfig --list | grep nfs
nfs 0:off 1:off2:on 3:on 4:on5:on 6:off
nfs-rdma 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[root@oracle1 ~]# ls / | grep nfs
192.168.1.13:/nfs1 /nfs1 nfs defaults 0 0
192.168.1.13:/nfs2 /nfs2 nfs defaults 0 0