Home NAS
Post
Cancel

NAS

NAS Volum mount

NAS = 네트워크 결합 스토리지

1
2
CentOS 환경 = NFS
Windows 환경 = CIFS
1
CentOS 7 'NFS' 사용

NFS 기본 모듈 설치

1
yum install -y showmount

Mount 디렉토리 생성

1
mkdir [디렉토리 명]

Mount 할 수 있는 볼륨이 있는 지 확인 (NFS주소)

1
showmount -e 172.27.128.1

Mount : mount –t nfs [대상주소:/경로] [mount 할 디렉토리]

1
mount -t nfs 172.27.128.1:/testnass /root/mfss

Mount 상태 확인

1
df -h

Reboot 을 할 경우 NFS 볼륨이 해제 됨으로 /etc/fstab 에 아래와 같이 등록 해야 한다.

1
2
3
4
5
vim /etc/fstab

-- 맨밑에 아래내용 추가 --

172.27.128.1:testnass                     /root/mfss              nfs     auto            0 0
This post is licensed under CC BY 4.0 by the author.