[root@wallet01 ~]# id mysql
uid=1000(mysql) gid=1000(mysql) groups=1000(mysql)
[root@wallet01 ~]# yum install -y nfs-utils rpcbind
[root@wallet01 ~]# vim /etc/exports
/home/mysql/backup 192.168.40.0/24(rw,no_root_squash,sync)
[root@wallet01 ~]# exportfs -rv
exporting 192.168.1.0/24:/home/mysql/backup
[root@wallet01 ~]# service rpcbind start
[root@wallet01 ~]# service rpcbind status
[root@wallet01 ~]# service nfs start
[root@wallet01 ~]# service nfs status
[root@wallet02 ~]# groupadd -g 1000 mysql
[root@wallet02 ~]# useradd -u 1000 -g mysql mysql
[root@wallet02 ~]# id mysql
uid=1000(mysql) gid=1000(mysql) groups=1000(mysql)
[root@wallet02 ~]# yum -y install nfs-utils
[root@wallet02 ~]# showmount -e 192.168.1.201
Export list for 192.168.1.201:
/home/mysql/backup 192.168.1.0/24
[root@wallet02 ~]# mount -t nfs 192.168.1.201:/home/mysql/backup /home/mysql/backup -o proto=tcp
[root@wallet02 ~]# df -h | grep backup
192.168.1.201:/home/mysql/backup 200G 3.3G 197G 2% /home/mysql/backup