ONTAP 9.12.1 commands

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

    Rename a snapshot

    Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

    Description

    The volume snapshot rename command renames a Snapshot copy.

    You cannot rename a Snapshot copy that is created as a reference copy during the execution of the volume move command.

    Parameters

    -vserver <vserver name> - Vserver

    This specifies the Vserver that contains the volume on which the specified Snapshot copy is to be renamed

    -volume <volume name> - Volume

    This specifies the volume that contains the Snapshot copy to be renamed.

    -snapshot <snapshot name> - Snapshot

    This specifies the Snapshot copy that is to be renamed.

    -new-name <snapshot name> - Snapshot New Name

    This specifies the new name for the Snapshot copy.

    [-force <true>] - Force Rename

    If this parameter is specified, the Snapshot copy rename operation is allowed on application tagged volumes. Otherwise, the operation is disallowed on application tagged volumes.

    Examples

    The following example renames a Snapshot copy named vol3_snap on a volume named vol3 and a Vserver named vs0. The Snapshot copy is renamed to vol3_snap_archive.

    cluster1::> volume snapshot rename -vserver vs0 -volume vol3
    -snapshot vol3_snap -new-name vol3_snap_archive
    Top of Page