ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • volume make-vsroot

    Designate a non-root volume as a root volume of the Vserver

    Availability: This command is available to cluster administrators at the advanced privilege level.

    Description

    The volume make-vsroot command promotes a non-root volume of the Vserver to be the Vserver’s root volume. The Vserver’s root volume must be a FlexVol volume with a size of atleast 1 GB.

    For instance, if you run this command on a volume named user that is located on a Vserver named vs0 , the volume user is made the root volume of the Vserver vs0 .

    This command is available only at the advanced privilege level and higher.

    Parameters

    -vserver <vserver name> - Vserver Name

    This specifies the Vserver on which a non-root volume is to be made the root volume.

    -volume <volume name> - Volume Name

    This specifies the non-root volume that is to be made the root volume of its Vserver. This must be an existing FlexVol volume. Using a SnapLock volume as the root volume for a Vserver is not supported.

    Examples

    The following example makes a volume named root_vs0_backup the root volume of its Vserver with FlexVol volumes, which is named vs0 .

    node::> volume make-vsroot -vserver vs0 -volume root_vs0_backup

    The following example makes a volume named root_vs1 the root volume of the Vserver with Infinite Volume vs1 .

    node::> volume make-vsroot -vserver vs1 -volume root_vs1 -aggregate aggr1
    Top of Page