"Storage"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
잔글 (→가상 디스크) |
잔글 |
||
155번째 줄: | 155번째 줄: | ||
virt-edit centos-6.5-3 /etc/fstab | virt-edit centos-6.5-3 /etc/fstab | ||
− | ==참고 문헌== | + | == 용어 정의 == |
− | *http://www.lacie.com/download/whitepaper/WP_RAID_kr.pdf | + | |
− | *http://skymeet.tistory.com/43 | + | == 참고 문헌 == |
+ | |||
+ | *[http://www.lacie.com/download/whitepaper/WP_RAID_kr.pdf http://www.lacie.com/download/whitepaper/WP_RAID_kr.pdf] | ||
+ | *[http://skymeet.tistory.com/43 http://skymeet.tistory.com/43] | ||
*NAS 참고 문헌 | *NAS 참고 문헌 | ||
+ | |||
:*[http://www.hanb.co.kr/network/view.html?bi_id=1512 윈도우 기반 NFS 서버/클라이언트 구축 1] | :*[http://www.hanb.co.kr/network/view.html?bi_id=1512 윈도우 기반 NFS 서버/클라이언트 구축 1] | ||
:*[http://www.hanb.co.kr/network/view.html?bi_id=1513 윈도우 기반 NFS 서버/클라이언트 구축 2] | :*[http://www.hanb.co.kr/network/view.html?bi_id=1513 윈도우 기반 NFS 서버/클라이언트 구축 2] | ||
:*[http://www.hanb.co.kr/network/view.html?bi_id=1514 윈도우 기반 NFS 서버/클라이언트 구축 3] | :*[http://www.hanb.co.kr/network/view.html?bi_id=1514 윈도우 기반 NFS 서버/클라이언트 구축 3] | ||
− | :*Windows 용 NFS Server : http://ko.sourceforge.jp/projects/sfnet_winnfsd/ (오픈소스) | + | :*Windows 용 NFS Server : [http://ko.sourceforge.jp/projects/sfnet_winnfsd/ http://ko.sourceforge.jp/projects/sfnet_winnfsd/] (오픈소스) |
::*winnfsd –id $uid $gid –log off $folder | ::*winnfsd –id $uid $gid –log off $folder | ||
− | :*http://technet.microsoft.com/ko-kr/library/dd758767(v=ws.10).aspx | + | :*[http://technet.microsoft.com/ko-kr/library/dd758767(v=ws.10).aspx http://technet.microsoft.com/ko-kr/library/dd758767(v=ws.10).aspx] |
− | :*[[CentOS#NFS_설정]] | + | :*[[CentOS#NFS 설정|CentOS#NFS_설정]] |
− | :*[[UCloud#NFS]] | + | :*[[UCloud#NFS|UCloud#NFS]] |
− | :*http://www.microsoft.com/en-us/download/details.aspx?id=7562 | + | :*[http://www.microsoft.com/en-us/download/details.aspx?id=7562 http://www.microsoft.com/en-us/download/details.aspx?id=7562] |
:*[http://www.freenas.org/ FreeNAS] | :*[http://www.freenas.org/ FreeNAS] | ||
174번째 줄: | 178번째 줄: | ||
:*[http://www.openmediavault.org/ Openmediavault] | :*[http://www.openmediavault.org/ Openmediavault] | ||
:*[http://www.openfiler.com/ OpenFiler] | :*[http://www.openfiler.com/ OpenFiler] | ||
− | :*[http://www.nexentastor.org/ Nexentastor], http://nexenta.com/corp/downloads | + | :*[http://www.nexentastor.org/ Nexentastor], [http://nexenta.com/corp/downloads http://nexenta.com/corp/downloads] |
:*[http://www.openmediavault.org/ OpenMediaVault] | :*[http://www.openmediavault.org/ OpenMediaVault] | ||
:*[http://sourceforge.net/projects/dsgpl/ 시놀로지 NAS GPL] | :*[http://sourceforge.net/projects/dsgpl/ 시놀로지 NAS GPL] | ||
:*[http://sourceforge.net/projects/qosgpl/ QNAP NAS GPL] | :*[http://sourceforge.net/projects/qosgpl/ QNAP NAS GPL] | ||
:*[http://www.nas-central.org/wiki/Collection_of_NAS-Hacking_communities Collection_of_NAS-Hacking_communities] | :*[http://www.nas-central.org/wiki/Collection_of_NAS-Hacking_communities Collection_of_NAS-Hacking_communities] | ||
− | + | [[Category:Storage|Category:Storage]]<br/>[[Category:Cloud|Category:Cloud]] | |
− | [[Category:Storage]] | ||
− | [[Category:Cloud]] |
2014년 10월 21일 (화) 16:11 판
Storage 관련 사항을 정리 합니다.
Storage 종류
- DAS : Direct Attached Storage
- NAS : Network Attached Storage, File Storeage
- 이더넷으로 클라이언트와 통신
- NFS (Network File System) 지원
- CIFS (Common Internet File System) 방식 지원
- Windows에서 네트워크 드라이브로 연결
- SMB (Server Message Block)의 확장 프로토콜
- SAN : Storage Area Network, Block Storage
- 다수의 Storage와 Host를 스위치 패브릭으로 연결
- Oracle의 OCFS (Oracle Cluster File System), Veritas의 Senergy, Red Hat의 GFS (Global File System)
RAID 구성
- RAID (Redundant Array of Independents Disks)
저장 방식 상세 RAID Level 0 - Striping (스트라이핑)
- 하나의 데이터를 여러개의 디스크에 분산하여 저장
- 장점 : 빠른 I/O
- 단점 : 낮은 안정성
RAID Level 1 - Mirroring (미러링)
- 하나의 데이터를 두개의 디스크에 중복하여 저장
- 장점 : 데이터의 안전성 보장
- 단점 : Disk의 저장 용량의 50% 감소
RAID Level 3 - Disk 3개와 별도의 패리티 디스크로 구성, 순차적 파일 저장에 유리
- 장점 : 1개의 디스크 손상을 복구, 서비스 무중단
- 단점 : 디스크 한개만큼 용량 감소
- RAID 3 + Spare : Disk 3개 중 하나가 비어 있고 하나의 디스크 장애시 이 빈 디스크를 사용하여 복구
- 단점 : 디스크 2개만큼 용량 감소
RAID Level 4 - Parity
- N - 1개의 그룹은 데이터를 저장하고 1개의 그룹은 parity 데이터를 저장
- 장점 : RAID 0 대비 높은 안정성, RAID 1 대비 뛰어난 성능
- 단점 : 쓰기시 부하가 걸림
RAID Level 5 - Distribute Parity
- RAID 4와 유사하나 Parity disk가 그룹별로 분산 되어 있음
- 최소 3개 이상의 디스크에서 특정 블록을 패리티 블록으로 사용, 무작위 읽기에 유리
- 장점 : RAID 4 대비 병목 현상을 줄임
- 장점 : 1개의 디스크 손상을 복구, 서비스 무중단
RAID Level 6 - 두개의 패리티 블록을 사용
- RAID 5에서 Parity disk를 2개씩 가져감
- 장점 : RAID 5 대비 안정성 증가 (디스크 2개까지의 손상을 허용)
- 단점 : RAID 5 대비 비용 증가
RAID 0 + 1 - RAID 0를 먼저 적용하고 RAID 1을 적용
RAID 10 - RAID 1 + 0
- 미러링된 세트의 스트라이프
- RAID 1를 먼저 적용하고 RAID 0을 적용
JBOD - Just a Bunch Of Disks
- 여러개의 디스크를 하나의 논리적인 디스크로 결합
HYPERDUO - 일반 HDD와 SSD를 RAID로 엮어서 속도 향상
Data 전송 방식
- PATA (Parallel Advanced Tachnology Attachment) : 병렬 방식
- SATA (Serial Advanced Technology Attachment, Serial ATA) : 직렬 방식
- SATA 1 : 초당 150MB
- SATA 2 : 초당 300MB
- AHCI (Advanced Host Controller Interface) : SATA 장치들과 신호를 주고 받을 수 있는 H/W 구조
- NCQ(Native Command Queuing) : SATA 장치의 성능을 향상하기 위해 입출력(I/O) 요청을 우선 큐에 보관한 다음, 전체 헤드의 움직임을 최소화할 수 있도록 요청의 순서를 재배열한 다음 실행하는 방식
- SCSI (Small Computer System Interface) : 병렬 방식
- SAS (Serial Attached SCSI) : 직렬 방식
- Memory
- DIMM (Dual In-Line Memory Module) : 여러 개의 DRAM 칩을 회로 기판 위에 탑재한 메모리 모듈
- ECC (Error-Correcting Code) : 입력 테이타에 일정한 redundancy를 추가해 error를 검출 및 수정하는 code
NAS
NAS (Network Attached Storage)
- NFS Client
- http://technet.microsoft.com/ko-kr/library/cc754350.aspx
- http://blog.cuongnv.com/2009/11/windows-7-client-for-nfs-and-user-name.html
- http://pic.dhe.ibm.com/infocenter/sonasic/sonas1ic/index.jsp?topic=%2Fcom.ibm.sonas.doc%2Fusgr_cnnctng_via_nfs_frm_wndws.html
- Windows Service for Unix : http://www.zosel.net/entry/nfs-client-%EC%84%A4%EC%B9%98-%EB%B0%8F-%EC%84%A4%EC%A0%95-with-SFUWindows-Service-For-Unix-window
mount –u:$uid –p:$passwd $server:/c/$folder $driver: umount k: #--- unmount showmount –e 서버 #--- NFS 서버 속성 보기 Sample) mount –u:kisinger –p:Imsi0000 daou-kisinger4:/c/SugarPro k:
File System
- XFS
- mkfs.xfs
mkfs.xfs -f -b size=512 -l size=32768b -d agcount=1 -n size=16k /dev/sdb1 ;\ mount -o noatime,nodiratime,logbufs=8 /dev/sdb1 /mnt/test
가상 디스크
- 이미지 생성
qemu-img create -f qcow2 -o preallocation=metadata test.qcow2 100G
- 이미지 용량 증가
VBoxManage modifyhd ~.vdi --resize 20480
- 이미지 용량 감소
qemu-img convert -c -O qcow2 source.qcow2 target.qcow2 VBoxManage modifyhd ~.vdi --compact
- 이미지 복제
VBoxManage clonevdi 원본.vdi 타겟.vdi VBoxManage clonehd ~.vmdk ~.vdi --format vdi
- 이미지 포맷 변환
qemu-img convert -O vdi test.qcow2 test.vdi
- 이미지 내용 수정
yum install guestfish -y guestfish –rw -a /cloudimages/disk/CentOS-6.5.qcow2 run list-filesystems mount /dev/sda1 / edit /etc/fstab exit virt-edit centos-6.5-3 /etc/fstab
용어 정의
참고 문헌
- NAS 참고 문헌
- 윈도우 기반 NFS 서버/클라이언트 구축 1
- 윈도우 기반 NFS 서버/클라이언트 구축 2
- 윈도우 기반 NFS 서버/클라이언트 구축 3
- Windows 용 NFS Server : http://ko.sourceforge.jp/projects/sfnet_winnfsd/ (오픈소스)
- winnfsd –id $uid $gid –log off $folder