メインコンテンツへスキップ

SVMルートボリュームへのNFSアクセスを制限する方法

Views:
261
Visibility:
Public
Votes:
0
Category:
fas-systems
Specialty:
nas
Last Updated:

環境

ONTAP 9

説明

  • デフォルトでは、SVMが作成されると、ルートボリュームは次のように設定されます。755権限。
  • これは次のことを意味します。
    • ユーザー 根 (0) の有効な権限: 7, 又はFull Control.
    • グループ そして余人 アクセス許可レベルは、 5,これは Read & Execute.
  • この設定を行うと、SVMルートボリュームにアクセスするすべてのユーザーが、SVMルートボリュームの下にマウントされたジャンクションの一覧表示と読み取りが可能になります。
  • また、を使用してSVMを設定した際に作成されるデフォルトのエクスポート ポリシー ルール システムマネージャ 又は vserver setup コマンドは、SVMルートへのユーザ アクセスを許可します。 
例:

cluster::> vserver export-policy rule show -vserver nfs_svm -policyname default -instance
 
                   Vserver: nfs_svm 
                 Policy Name: default 
                 Rule Index: 1 
               Access Protocol: any 
Client Match Hostname, IP Address, Netgroup, or Domain: 0.0.0.0/0 
               RO Access Rule: any 
               RW Access Rule: any 
User ID To Which Anonymous Users Are Mapped: 65534 
          Superuser Security Types: none 
        Honor SetUID Bits in SETATTR: true 
          Allow Creation of Devices: true 

  • たとえば、SVMに「nfs4」、「ntfs」、「unix」という3つのデータボリュームがある場合、
  • すべて「/」の下にマウントされ、次のようにリストされます。lsマウントにアクセスするすべてのユーザーによるコマンド。 

例:

# mount | grep /mnt 
x.x.x.e:/ on /mnt type nfs (rw,nfsvers=3,addr=x.x.x.e) 
# cd /mnt 
# ls 
nfs4  ntfs  unix 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.