Go to main content
Oracle® ZFS Storage Appliance 管理ガイド、Release OS8.6.x

印刷ビューの終了

更新: 2016 年 9 月
 
 

ファイルシステムまたは LUN の編集 (CLI)

個々のファイルシステムまたは LUN のプロパティーを変更するには、次のステップを使用します。

  1. shares に移動します。
    hostname:> shares
  2. select および編集するファイルシステムまたは LUN が含まれているプロジェクト名を入力します。
    hostname:shares> select default
  3. select およびファイルシステム名または LUN 名を入力します。
    hostname:shares default> select fs-1
  4. 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)
                            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 = 
  5. ファイルシステムのプロパティーおよび LUN プロパティーの説明に従って、set コマンドを使用してファイルシステムまたは LUN のプロパティーを変更します。

    たとえば、fs-1 という名前のファイルシステムの NFS プロトコルを無効にするには、次のように入力します。

    hostname:shares default/fs-1> set sharenfs=off
                          sharenfs = off (uncommitted)
  6. commit」と入力します。
    hostname:shares default/fs-1> commit

関連トピック