Infinite Volumeを備えたSVM上への新しいルート ボリュームの作成

Infinite Volumeを備えたStorage Virtual Machine(SVM)のルート ボリュームが使用できなくなった場合、特定のアグリゲートに新しいルート ボリュームを作成して、使用できないルート ボリュームに置き換える必要があります。既存のボリュームをルート ボリュームに昇格することはできません。

このタスクについて

Infinite Volumeを備えたSVMに対して新しいルート ボリュームを作成すると、使用できなくなったそれまでのルート ボリュームは自動的に削除されます。

新しいルート ボリュームは、Infinite Volumeを備えたSVMに適したサイズで自動的に作成されます。 Infinite Volumeを備えたSVMでは、ルート ボリュームに1GBのサイズが必要とされることはありません。

手順

  1. set -privilegeコマンドを使用してadvanced権限を設定します。
  2. SVMの新しいルート ボリュームを作成します。これにはvolume make-vsrootコマンドに-aggregateパラメータを指定して使用します。
    新しいルート ボリュームが作成され、使用できなくなったそれまでのルート ボリュームが削除されます。
  3. volume mountコマンドを使用してInfinite Volumeをマウントします。

次の例では、Infinite Volumeを備えたSVM vs0の新しいルート ボリュームを作成し、Infinite Volume repo_volをマウントする方法を示します。

cluster1::> set -privilege advanced

Warning: These advanced commands are potentially dangerous; use them
only when directed to do so by technical support.
Do you want to continue? {y|n}: y

cluster1::*> volume make-vsroot -vserver vs0 -volume vs0_root1 -aggregate aggr1

Warning: Creating a new Vserver root volume will delete the old Vserver root 
volume "vs0_root".
Do you want to continue? {y|n}: y

cluster1::*> volume show -volume vs0_root1 -instance

                                     Vserver Name: vs0
                                      Volume Name: vs0_root1
                                                 ...
                                    Junction Path: /
                                                 ...
                              Vserver Root Volume: true
                                                 ...

cluster1::*> volume mount -vserver vs0 -volume repo_vol -junction-path /NS -active true -policy-override false
[Job 69] Job succeeded: Volume "repo_vol" on Vserver "vs0" is mounted at "/NS".

cluster1::*> volume show -vserver vs0 -volume repo_vol -fields state, junction-path
vserver volume   state  junction-path
------- -------- ------ -------------
vs0     repo_vol online /NS