Reference Guide

68 스냅샷 기능 사용
다음 예제는 소프트웨어에서 물리 디스크를 할당하는 명령어입니다 .
client>smcli 123.45.67.89 -c "create
snapshotVirtualDisk sourceVirtualDisk=
\"Mars_Spirit_4\" repositoryDiskGroup=2
freeCapacityArea=2;"
예제의 명령어는 디스크 그룹 2 스냅샷 저장소 가상 디스크를
성합니다 . 소스 가상 디스크는 Mars_Spirit_4 입니다 . 스냅샷 저장소의
기는 4GB 입니다 . 명령어는 소스 가상 디스크의 스냅샷을 작성하
면서 기록 복사 시작합니다 .
스냅샷 저장소 가상 디스크
용량을 소스 가상 디스크 크기의 백분
의하십시오 . 크기와 속도를 모두 고려하면 20% 정도의 값이 적절합니다 .
예제에서 스냅샷 저장소 크기는 4GB 설정되어 있습니다 . 기본
정에 따르면 소스 가상 디스크 크기는 20GB(0.2 x 20GB = 4GB) 입니다 .
다음 예제는 명령어의 스크립트 파일 버전입니다 .
create snapshotVirtualDisk sourceVirtualDisk=
"Mars_Spirit_4" repositoryDiskGroup=2
freeCapacityArea=2;
물리 디스크 수를 지정하여 스냅샷 가상 디스크 작성
create snapshotVirtualDisk 명령어 버전을 사용할 경우에는 스냅샷 저장
가상 디스크의 RAID 레벨과 물리 디스크 수를 지정해야 합니다 .
create snapshotVirtualDisk 명령어 버전은 디스크 그룹을 작성합니다 .
명령어가 올바르게 작동하려면 디스크 그룹에 할당되지 않은 물리 디스
크가 스토리지 배열에 있어야 합니다 .
create snapshotVirtualDisk sourceVirtualDisk=
"sourceVirtualDiskName" [repositoryRAIDLevel=(0 |
1 | 5 | 6) repositoryPhysicalDiskCount=
numberOfPhysicalDisks physicalDiskType=(SAS |
SATA) userLabel="snapshotVirtualDiskName"
warningThresholdPercent=percentValue
repositoryPercentOfSource=percentValue
repositoryUserLabel="repositoryName"
repositoryFullPolicy=(failSourceWrites |
failSnapShot)] [enclosureLossProtect=(TRUE |
FALSE)]