NFS常用操作命令

2022-10-22 09:05
129
0

yum -y install nfs-utils rpcbind

systemctl enable nfs
systemctl enable rpcbind

systemctl start nfs
systemctl start rpcbind


vi /etc/exports

/data/mysql 192.168.*.*(insecure,fsid=0,rw,async,no_root_squash)
/data/nfs-share *(rw,fsid=0,async,no_root_squash) 

exportfs –rv


mount -t nfs -o rw 192.168.1.100:/upload  /nff/nfs-data

全部评论