brunch

You can make anything
by writing

C.S.Lewis

by Master Seo Jan 10. 2021

16. 네이버클라우드 실습-NAS 스토리지 생성


<1> 리눅스용 NFS 생성

<2>  리눅스에서 nfs 사용을 위해 tool 설치



<1> 리눅스용 NFS 생성


1

NAS > Volume




seonas

500기가


2

NFS에 접근 가능한 서버를 추가한다.


NAS를 생성한다.

만들어진 NAS의   마운트 정보 확인

169.254.3.6:/n1328960_seonas


마운트 정보를  notepad에 복사해 놓는다.




4

NAS사용자 가이드

https://docs.ncloud.com/ko/storage/storage-4-1.html




<2>  리눅스에서 nfs 사용을 위해 tool 설치


1

nfs-utils 설치

[root@s176e9990e64 ~]# yum install nfs-utils -y


2

rpc 데몬이 있어야 한다.

[root@s176e9990e64 ~]# systemctl start rpcbind

[root@s176e9990e64 ~]# systemctl enable rpcbind


3

디렉토리 만들고 마운트 하자.

mkdir /mnt/nas


만들어진 NAS의   마운트 정보 확인

169.254.3.6:/n1328960_seonas



4

마운트 하기

mount -t nfs 169.254.3.6:/n1328960_seonas /mnt/nas


[root@s176e9990e64 ~]# mount    -t    nfs    169.254.3.6:/n1328960_seonas     /mnt/nas

[root@s176e9990e64 ~]#

[root@s176e9990e64 ~]# df -h

Filesystem                    Size  Used Avail Use% Mounted on

/dev/xvda2                     49G  2.1G   47G   5% /

devtmpfs                      3.8G     0  3.8G   0% /dev

tmpfs                         3.7G     0  3.7G   0% /dev/shm

tmpfs                         3.7G  8.4M  3.7G   1% /run

tmpfs                         3.7G     0  3.7G   0% /sys/fs/cgroup

/dev/xvda1                   1014M  140M  875M  14% /boot

tmpfs                         756M     0  756M   0% /run/user/0

169.254.3.6:/n1328960_seonas  500G  320K  500G   1% /mnt/nas

[root@s176e9990e64 ~]#



5

확인

[root@s176e9990e64 ~]# cp     /var/www/html/index.html      /mnt/nas/

[root@s176e9990e64 ~]# cd /mnt/nas/

[root@s176e9990e64 nas]# ls

index.html



다음은 모니터링을 알아보자~~


https://brunch.co.kr/@topasvga/1405



감사합니다.


        

매거진의 이전글 15. 네이버클라우드 실습-Mysql db 생성

작품 선택

키워드 선택 0 / 3 0

댓글여부

afliean
브런치는 최신 브라우저에 최적화 되어있습니다. IE chrome safari