Notice
Recent Posts
Recent Comments
Link
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Tags
more
Archives
Today
Total
관리 메뉴

클라우드 배우기

Esxi - Centos NFS 마운트 하기 본문

카테고리 없음

Esxi - Centos NFS 마운트 하기

새싹싹이 2023. 11. 1. 17:12

DHCP 설정으로 IP 수정 없이 진행

# ifup ens192

# yum install -y nfs-utils 

# mkdir /centos_vmfs

# vi /etc/exports

/centos_vmfs	***.***.***.0/24(rw,sync,no_root_squash)
#***.***.***.0 => 실제 본인 ip 대역

# systemctl start nfs

# exportfs -v

# firewall-cmd --get services => 추가된 서비스 확인

# firewall-cmd --add-service=mountd

# firewall-cmd --add-service=rpc-bind

# firewall-cmd --list-all

# firewall-cmd --get-services

# ip a => Exsi에 붙일 ip 확인

 

# dd if=/dev/zero of=/centos_vmfs/test.txt bs=10M count=1 

 

Exsi 

새 데이터스토어 추가

 

NFS 데이터스토어 마운트

 

Centos 의 IP 주소와 mount할 디렉터리 생성

 

데이터스토어 브라우저 들어가면 test.txt가 뜬 것을 확인할 수 있다.