#####서버 설정#####
nfs-utils-2.3.3-31.el8.x86_64.rpm
rpcbind-0.2.0-48.el7.x86_64
cloud-utils-growpart-0.29-3.el8.noarch.rpm - 용량 추가
systemctl start nfs-server
systemctl enable nfs-server
systemctl start rpcbind
systemctl enable rpcbind
firewall-cmd --permanent --zone public --add-service rpc-bind
firewall-cmd --permanent --zone public --add-service mountd
firewall-cmd --permanent --zone public --add-service nfs-server
home/nfsadm/cbtes_nfs (rw,all_squash,sync)
※ 과(옵션)은 꼭 붙어 있어야함
#####클라이언트 설정#####
nfs-utils-2.3.3-31.el8.x86_64.rpm
rpcbind-0.2.0-48.el7.x86_64
systemctl start nfs-utils
systemctl enable nfs-utils
systemctl status nfs-utils
systemctl start rpcbind
systemctl enable rpcbind
systemctl status rpcbind
showmount -e 172.16.100.132
cbtes_was 서버의 /cbtes_nfs 생성
mkdir /cbtes_nfs
mount -t nfs -o sync 172.16.100.132:/home/nfsadm/cbtes_nfs /cbtes_nfs
(마운트할 서버) (클라이언트의 마운트할 경로)
vi /etc/fstab
172.16.100.132:/home/nfsadm/cbtes_nfs /cbtes_nfs nfs sync 0 0