vim /etc/exports

/data/backup *(rw,sync,no_root_squash,no_subtree_check)

 

systemctl restart rpcbind

systemctl start nfs-server

 

NFS挂载

mount -t nfs ip:/data/backup /data/db1/backup_root(将nfs挂载到备份目录下)

unmount /gdbdata/backup

 

posted on 2024-01-29 11:17  我有我的信仰  阅读(12)  评论(0)    收藏  举报