Oracle® ZFS Storage Appliance 관리 설명서, 릴리스 2013.1.5.0

인쇄 보기 종료

업데이트 날짜: 2016년 2월
 
 

CLI를 사용하여 스냅샷 복제

  1. 스냅샷을 복제하려면 clone 명령을 사용합니다. 이 명령을 실행하면 공유를 생성하는 데 사용된 공유 컨텍스트와 일치하는 커밋되지 않은 공유 컨텍스트로 이동합니다. 여기서 복제본을 만들기 위해 변경 사항을 커밋하기 전에 필요한 경우 등록 정보를 조정할 수 있습니다.
    
    clownfish:shares default/builds snapshots> select today
    clownfish:shares default/builds@today> clone testbed
    clownfish:shares default/testbed (uncommitted clone)> get
                        aclinherit = restricted (inherited)
                           aclmode = discard (inherited)
                             atime = true (inherited)
                          checksum = fletcher4 (inherited)
                       compression = off (inherited)
                            copies = 1 (inherited)
                        mountpoint = /export/testbed (inherited)
                             quota = 0 (default)
                          readonly = false (inherited)
                        recordsize = 128K (inherited)
                       reservation = 0 (default)
                    secondarycache = all (inherited)
                            nbmand = false (inherited)
                          sharesmb = off (inherited)
                          sharenfs = on (inherited)
                           snapdir = hidden (inherited)
                             vscan = false (inherited)
                          sharedav = off (inherited)
                          shareftp = off (inherited)
                        root_group = other (default)
                  root_permissions = 777 (default)
                         root_user = nobody (default)
                        quota_snap = true (default)
                  reservation_snap = true (default)
    clownfish:shares default/testbed (uncommitted clone)> set quota=10G
                             quota = 10G (uncommitted)
    clownfish:shares default/testbed (uncommitted clone)> commit
    clownfish:shares default/builds@today>
    
  2. 또한 명령은 복제본을 만들 프로젝트인 선택적 첫번째 인수를 지원합니다. 기본적으로 복제본은 복제되는 공유와 동일한 프로젝트에서 만들어집니다.