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

인쇄 보기 종료

업데이트 날짜: 2016년 2월
 
 

공유 작업(CLI)

프로젝트를 선택하고 filesystem 또는 lun 명령을 실행하여 공유를 만듭니다. 다음과 같이 변경 사항을 커밋하기 전에 필요한 경우 등록 정보를 수정할 수 있습니다.

clownfish:shares default> filesystem foo
clownfish:shares default/foo (uncommitted)> get
                    aclinherit = restricted (inherited)
                       aclmode = discard (inherited)
                         atime = true (inherited)
                      checksum = fletcher4 (inherited)
                   compression = off (inherited)
                        copies = 1 (inherited)
                    mountpoint = /export/foo (inherited)
                         quota = 0 (inherited)
                      readonly = false (inherited)
                    recordsize = 128K (inherited)
                   reservation = 0 (inherited)
                secondarycache = all (inherited)
                        nbmand = false (inherited)
                      sharesmb = off (inherited)
                      sharenfs = on (inherited)
                       snapdir = hidden (inherited)
                     snaplabel = project1:share1
                         vscan = false (inherited)
                      sharedav = off (inherited)
                      shareftp = off (inherited)
                    root_group = other (default)
              root_permissions = 700 (default)
                     root_user = nobody (default)
               casesensitivity = (default)
                 normalization = (default)
                      utf8only = (default)
                    quota_snap = (default)
              reservation_snap = (default)
                    custom:int = (default)
                 custom:string = (default)
                  custom:email = (default)
clownfish:shares default/foo (uncommitted)> set sharenfs=off
                      sharenfs = off (uncommitted)
clownfish:shares default/foo (uncommitted)> commit
clownfish:shares default>

암호화된 프로젝트를 만들려면 How to Create an Encrypted Project (CLI)을 참조하십시오.

다음과 같이 공유 컨텍스트에서 destroy 명령을 사용하여 공유를 삭제할 수 있습니다.

clownfish:shares default/foo> destroy 
This will destroy all data in "foo"! Are you sure? (Y/N) 
clownfish:shares default> 

다음과 같이 rename 명령을 사용하여 프로젝트 컨텍스트에서 공유의 이름을 바꿀 수 있습니다.

clownfish:shares default> rename foo bar
clownfish:shares default>

다음과 같이 move 명령을 사용하여 프로젝트 컨텍스트에서 공유를 프로젝트 간에 이동할 수 있습니다.

clownfish:shares default> move foo home 
clownfish:shares default> 

특정 프로젝트 또는 공유를 선택한 후 users 또는 groups 명령을 통해 사용자 및 그룹 사용과 쿼터를 관리할 수 있습니다. 사용자 및 그룹 쿼터를 관리하는 방법에 대한 자세한 내용은 공간 관리 절을 참조하십시오.