Table of ContentsView in Frames

Promoting a new FlexVol volume

You can create and use a new FlexVol volume to restore the root volume of a Storage Virtual Machine (SVM).

About this task

Starting from clustered Data ONTAP 8.2, the SVM root volume is created with 1 GB size to prevent any failures when mounting any volume in the SVM root volume due to lack of space or inodes. Therefore, if you are promoting a new FlexVol volume, it should be minimum 1 GB in size.

Steps

  1. Use the set -privilege advanced command to set the privilege level to advanced.
  2. Use the volume create command to create a new FlexVol volume of 1 GB size.
  3. Use the volume make-vsroot command to promote the FlexVol volume as the root volume.
  4. Use the volume show command to verify the new root volume of the SVM.
  5. Use the volume rename command to rename the volume that was promoted as the root volume.
    For more information about these commands, see the man pages.

Example

The following command promotes the FlexVol volume new_rootvol as the root volume of the SVM vs1.example.com:

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}:

cluster1::*> vol create -vserver vs3 -volume new_rootvol -aggregate aggr0 -size 1GB
  (volume create)

cluster1::*> volume make-vsroot -vserver vs1.example.com -volume new_rootvol

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

              Vserver Name: vs1.example.com
              Volume Name: new_rootvol
              .
              .
	          Junction Path: /
              .
              Vserver Root Volume: true
              .
              .