Go to main content
Oracle® ZFS Storage Appliance 관리 설⁠명⁠서, 릴⁠리⁠스 OS8.6.x

인쇄 보기 종료

업데이트 날짜: 2016년 9월
 
 

프로젝트에서 파일 시스템 또는 LUN 만들기(CLI)

프로젝트 내에 만든 파일 시스템 또는 LUN은 프로젝트의 등록 정보를 상속합니다. 상속될 수 있는 표준 등록 정보 목록은 상속된 등록 정보를 참조하십시오. 프로젝트가 암호화되면 프로젝트 내에 만든 파일 시스템 또는 LUN도 암호화됩니다.

비기본 프로젝트에 파일 시스템 또는 LUN을 추가하는 경우 프로젝트가 이미 존재해야 합니다. 새 프로젝트를 만들려면 프로젝트 만들기(CLI)를 참조하십시오.

  1. shares로 이동합니다.
    hostname:> shares
  2. select와 프로젝트 이름을 입력합니다. 이 예에서는 default 프로젝트가 선택되었습니다.
    hostname:shares > select default
  3. filesystem과 파일 시스템 이름 또는 lun과 LUN 이름을 입력합니다.

    이름은 1~64자로 구성되어야 하지만, 공백을 포함하거나 마침표로 시작하지 않아야 합니다. 허용되는 문자는 영숫자, 특수 문자 _ - . :입니다.

    다음 예에서는 default 프로젝트에 fs-1이라는 파일 시스템을 만듭니다.

    hostname:shares default> filesystem fs-1
    hostname:shares default/fs-1 (uncommitted)> 
  4. LUN을 만드는 경우 set volsize=와 볼륨 크기를 입력합니다.
    hostname:shares default/lun1 (uncommitted)> set volsize=2G
                           volsize = 2G (uncommitted)

  5. commit을 입력합니다.
    hostname:shares default/fs-1 (uncommitted)> commit
  6. select와 파일 시스템 또는 LUN 이름을 입력합니다.
    hostname:shares default> select fs-1
  7. get 명령을 사용하여 공유의 등록 정보를 나열합니다.
    hostname:shares default/fs-1> get
                            aclinherit = restricted (inherited)
                               aclmode = discard (inherited)
                                 atime = true (inherited)
                       casesensitivity = mixed
                              checksum = fletcher4 (inherited)
                           compression = off (inherited)
                                 dedup = false (inherited)
                         compressratio = 100
                                copies = 1 (inherited)
                              creation = Wed Apr 29 2015 17:57:18 GMT+0000(UTC)
                               logbias = latency (inherited)
                            mountpoint = /export/fs-1 (inherited)
                         normalization = none
                                 quota = 0
                            quota_snap = true
                              readonly = false (inherited)
                            recordsize = 128K (inherited)
                           reservation = 0              
                      reservation_snap = true
                              rstchown = true(inherited)
                        secondarycache = all (inherited)
                                shadow = none
                                nbmand = false (inherited)
                              sharesmb = off (inherited)
                              sharenfs = on (inherited)
                               snapdir = hidden (inherited)
                              utf8only = false
                                 vscan = false (inherited)
                            encryption = off (inherited)
                             snaplabel =
                              sharedav = off (inherited)
                              shareftp = off (inherited)
                             sharesftp = off (inherited)
                             sharetftp = off (inherited)
                                  pool = pool_demo
                        canonical_name = pool_demo/local/default/fs-1
                              exported = true (inherited)
                             nodestroy = false
                          maxblocksize = 1M (inherited)
                          lz4supported =  (inherited)
                            space_data = 31K              
                      space_unused_res = 0
                       space_snapshots = 0
                       space_available = 29.4T
                           space_total = 31K
                            root_group = other              
                      root_permissions = 700
                             root_user = nobody
                                origin = 
  8. 파일 시스템 또는 LUN 등록 정보를 수정하려면 set 명령을 사용합니다. 등록 정보는 프로젝트 및 공유 등록 정보에서 설명합니다.

    예를 들어, fs-1이라는 파일 시스템에 대해 NFS 프로토콜을 사용 안함으로 설정하려면 다음을 입력합니다.

    hostname:shares default/fs-1> set sharenfs=off
                          sharenfs = off (uncommitted)
  9. commit을 입력합니다.
    hostname:shares default/fs-1> commit
    hostname:shares default/fs-1>

관련 항목