클라우드 분류
[KT클라우드]Volume과 Snapshot
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 1,898 조회
- 0 추천
- 목록
본문
Volume 개요
원하는 용량의 데이터 볼륨을 생성하고, 이를 서버에 연결하여 저장 공간을 확장할 수 있습니다.
HDD 기반의 볼륨을 지원하며, 볼륨은 10GB 단위로 생성이 가능합니다.
※ SSD 기반 볼륨의 매뉴얼은 Storage > SSD Volume에 있습니다.
Volume 생성
Server > Volume 에서 [볼륨 생성]을 클릭합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010601.png)
위치, 이름, 상품, 용량, 요금제 설정하고 [생성하기]를 클릭합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010602.png)
목록에서 생성된 볼륨을 확인합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010603.png)
Volume 연결
생성한 볼륨을 선택하고 [연결]을 클릭합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010604.png)
Volume을 연결할 대상 서버를 선택하고 [연결하기]를 클릭합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010605.png)
해당 Volume의 상태가 '분리'에서 '사용'으로 바뀌었는지 확인합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010606.png)
Server메뉴에서 Volume 관리
Server > Server 목록에서 대상 서버를 선택하고, 추가메뉴 > [Volume 관리]를 클릭합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010607.png)
해당 팝업에서 Volume 관리가 가능합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010608.png)
Volume 사용 (Windows)
Windows 계열 서버는 제어판 > 관리도구 > '컴퓨터 관리' 실행 > 좌측 트리에서 저장소 밑의 '디스크 관리' 선택 >
우측 하단의 디스크에서 초기화할 디스크 선택하여 우클릭 > '디스크 초기화' 항목 선택 후 초기화 및 파티션 생성을 통해 데이터 디스크 사용
Volume을 추가한 후 클라우드 서버의 운영체제의 '제어판 > 관리도구 > 컴퓨터 관리'를 실행합니다.
컴퓨터 관리에서는 '저장소 > 디스크 관리'를 선택하면 이때 '디스크 초기화 및 변환 마법사 시작'창이 팝업됩니다.
![](https://cloud.kt.com/portal/user-guide/images/03010609.jpg)
해당 가상 하드 디스크 부분에 마우스 오른쪽 버튼을 클릭한 후, '디스크 초기화'를 선택하여 실행합니다.
파티션 만들기 에서는 다음페이지의 그림과 같이 진행하도록 하시면 됩니다.
다음 과정 중에서는 '파티션 포맷'을 아래와 같이 설정하도록 하며, 빠른포맷을 선 택하고 볼륨 레이블은 지정하지 않아도 무방합니다.
![](https://cloud.kt.com/portal/user-guide/images/03010610.jpg)
![](https://cloud.kt.com/portal/user-guide/images/03010625.jpg)
파일 시스템은 원하는 형태로 설정하면 되며, 파티션 생성 및 포맷을 완료하면 아래와 같이 추가한 Volume 인식이 완료됩니다.
![](https://cloud.kt.com/portal/user-guide/images/03010611.jpg)
Volume 사용 (Linux Non-LVM 구성)
리눅스 서버의 경우 추가될 volume은 콘솔에서 파티션 과정을 거쳐야 합니다.
VM 접속 후 fdisk –l 명령어로 attach 된 /dev/xvdc 100GB disk 확인
[root@Master-VM-hj ~]# fdisk -l
Disk /dev/xvdb: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000Disk /dev/xvda: 21.5 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x0009b2b4
Device Boot Start End Blocks Id System/
dev/xvda1 * 1 131 1048576 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/xvda2 131 392 2097152 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/xvda3 392 2611 17824768 83 Linux
Disk /dev/xvdc: 107.4 GB, 107374182400 bytes255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000
포맷 및 파일시스템 생성 – mkfs.ext4 명령어 사용(ext3 사용 시 mkfs.ext3 사용)
[root@Master-VM-hj ~]# mkfs.ext4 /dev/xvdcmke2fs
1.41.12 (17-May-2010)
Filesystem label=OS type: Linux
Block size=4096 (log=2)Fragment size=4096 (log=2)Stride=0 blocks, Stripe width=0 blocks
6553600 inodes, 26214400 blocks
1310720 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296800 block groups
32768 blocks per group, 32768 fragments per group8192 inodes per group
Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, Writing inode tables: doneCreating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: doneThis filesystem will be automatically checked every 36 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.
Disk Mount 및 확인
[root@Master-VM-hj ~]# mount /dev/xvdc /mnt
[root@Master-VM-hj ~]# df -TH
Filesystem Type Size Used Avail Use% Mounted on/dev/xvda3 ext4 18G 1.1G 17G 7% /tmpfs tmpfs 521M 0 521M 0% /dev/shm/dev/xvda1 ext4 1.1G 58M 946M 6% /boot
/etc/fstab 에 추가
[root@Master-VM-hj ~]# cat /etc/fstab# /etc/fstab
# Created by anaconda on Fri Jul 10 10:28:57 2015
## Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=22f17cf6-4750-45e3-a280-33df4c92c4de / ext4 defaults 1 1
UUID=a1fd08b9-428a-4177-b6e1-8b65817e2cc6 /boot ext4 defaults 1 2
UUID=76d1cc7c-7ff6-4615-849b-a00919656fe8 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs / sys sysfs defaults 0 0proc
/proc proc defaults 0 0
/dev/xvdc /mnt ext4 defaults 0 0
"무단배포금지: 클라우드포털(www.linux.co.kr)의 모든 강좌는 저작권에 의해 보호되는 콘텐츠입니다. 무단으로 복제하여 배포하는 행위는 금지되어 있습니다."
관련자료
-
링크
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.