프로젝트 내에 만든 파일 시스템 또는 LUN은 프로젝트의 등록 정보를 상속합니다. 상속될 수 있는 표준 등록 정보 목록은 상속된 등록 정보를 참조하십시오. 프로젝트가 암호화되면 프로젝트 내에 만든 파일 시스템 또는 LUN도 암호화됩니다.
비기본 프로젝트에 파일 시스템 또는 LUN을 추가하는 경우 프로젝트가 이미 존재해야 합니다. 새 프로젝트를 만들려면 프로젝트 만들기(CLI)를 참조하십시오.
hostname:> shares
hostname:shares > select default
이름은 1~64자로 구성되어야 하지만, 공백을 포함하거나 마침표로 시작하지 않아야 합니다. 허용되는 문자는 영숫자, 특수 문자 _ - . :입니다.
다음 예에서는 default 프로젝트에 fs-1이라는 파일 시스템을 만듭니다.
hostname:shares default> filesystem fs-1 hostname:shares default/fs-1 (uncommitted)>
hostname:shares default/lun1 (uncommitted)> set volsize=2G volsize = 2G (uncommitted)
hostname:shares default/fs-1 (uncommitted)> commit
hostname:shares default> select fs-1
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 =
예를 들어, fs-1이라는 파일 시스템에 대해 NFS 프로토콜을 사용 안함으로 설정하려면 다음을 입력합니다.
hostname:shares default/fs-1> set sharenfs=off sharenfs = off (uncommitted)
hostname:shares default/fs-1> commit hostname:shares default/fs-1>