第一步:安装
更新系统
yum update
安装iftop
yum install epel-release
yum install iftop
安装NFS
yum install nfs-utils rpcbind
我的NFS配置文件
vi /etc/exports
内容是
#/home/vmdk/ 10.105.11.0/(rw,no_root_squash,no_all_squash,sync,anonuid=,anongid=)
/home/nfs/vmdk/ 10.105.11.0/(rw)
/home/nfs/vmdk-/ 10.105.0.0/(rw)
/home/nfs/vmdk-/ 10.105.11.0/(rw)
重新加载NFS配置
exportfs -r
重启服务
systemctl restart rpcbind.service
systemctl restart nfs-server.service
配置服务自动启动
systemctl enable rpcbind
systemctl enable nfs-server
安装ISCSI target
yum install targetcli