プロジェクト内で作成されるファイルシステムまたは 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_acl = owner@:rwxpDaARWcCo:allow,group@:aRc:allow,everyone@:aRc:allow root_group = other root_permissions = 700 root_user = nobody origin = smbshareacl =
たとえば、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>