zhangkai 发表于 2022-9-23 10:05:50

nfs存储课件2023

本帖最后由 zhangkai 于 2023-10-10 09:38 编辑

yum install -y nfs-utils
mkdir /data
vim /etc/exports
/data 10.0.0.0/24(rw,async,no_root_squash,no_all_squash)
systemctl restart rpcbind
systemctl restart nfs
systemctl enable rpcbind
systemctl enable nfs
客户机执行
1、安装nfs
yum install -y nfs-utils
systemctl enable rpcbind.service


客户端不需要启动服务
nd服务.
2、检查 NFS 服务器端是否有目录共享
showmount -e 192.168.222.200
3、使用 mount 挂载A服务器端的目录/home/nfs到客户端B的目录/home/nfs下
# mkdir /home/nfs   
# mount -t nfs 192.168.222.200:/home/nfs/ /home/nfs/   


页: [1]
查看完整版本: nfs存储课件2023