CentOS 7 挂载NFS
安装NFS服务yum install nfs-utils -y
创建挂载目录,直接挂载NFSmount -t nfs 10.15.2.3:/volume1/OA-NAS/File-Share /mnt/File-Share
如果直接挂载报错“mount.nfs: Protocol not supported”,那需要-o vers
指定NFS版本
示例:mount -t nfs -o vers=4.1 10.15.2.3:/volume1/OA-NAS/File-Share /mnt/File-Share
fstab自动挂载示例:10.15.2.3:/volume1/OA-NAS/File-Share /mnt/File-Share nfs defaults,vers=4.1 0 0