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

ボリュームジャンクションパスの名前は変更できますか。

Views:
2,273
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

すべてのとおり  

環境

ONTAP 9

回答

はい。ボリュームのマウント先のジャンクションパスは次のように変更できます。 

1. ボリュームの現在のジャンクションパスを確認します。

::> volume show -vserver <vserver name> -junction
Vserver     Volume       Language        Active     Junction Path     Path Source
---------   ----------   ----------    -------    --------------    ---------------
nfs_vsvr    nfsroot       C.UTF-8        -           /                   -
nfs_vsvr    vol1         C.UTF-8      true           /vol1          RW_volume
nfs_vsvr    vol11        C.UTF-8      true        /vol1/vol11     RW_volume
nfs_vsvr    vol2         C.UTF-8         true        /vol2           RW_volume
            
4 entries were displayed.

 

2. ジャンクションパスを変更するボリュームをアンマウントします(例:vol2:

::> volume unmount -vserver nfs_vsvr -volume vol2

3.目的のジャンクションパス名にマウントします。

::> volume mount -vserver nfs_vsvr -volume vol2 -junction-path /vol0 -active true -policy-override false

4.ボリュームのジャンクションパスが変更されていることを確認します。

::> volume show -vserver <vserver name> -junction

Vserver     Volume       Language        Active     Junction Path     Path Source
---------   ----------   ----------    -------    --------------    ---------------
nfs_vsvr    nfsroot       C.UTF-8        -           /                   -
nfs_vsvr    vol1         C.UTF-8      true           /vol1          RW_volume
nfs_vsvr    vol11        C.UTF-8      true        /vol1/vol11     RW_volume
nfs_vsvr    vol2         C.UTF-8         true        /vol0           RW_volume
            
4 entries were displayed.

 

追加情報

NFS

NFSクライアントは 、古いエクスポートパスをアンマウントし、 新しいエクスポートパスをマウントする必要があります。

 

 

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.