ONTAP 9.13.1 commands

volume file clone show-autodelete

Show the autodelete status for a file or LUN clone

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

Description

The volume file clone show-autodelete command displays the autodelete details of a file, LUN or NVMe namespace clone. The command displays the following information about a file, LUN or NVMe namespace clone:

  • Vserver Name

  • Clone Path

  • Whether auto deletion of file, LUN or NVMe namespace clone is enabled

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

-vserver <vserver name> - Vserver Name

This specifies the Vserver to which the file, LUN or NVMe namespace clone belongs.

-clone-path <text> - Clone Path

This specifies the path of the file, LUN or NVMe namespace clone.

[-autodelete-enabled {true|false}] - Autodelete Enabled

If this parameter is true, the file, LUN or NVMe namespace clone gets automatically deleted in the 'try' or 'disrupt' mode. If the value is false, the clones get automatically deleted only in the 'destroy' mode.

Examples

The following example displays the autodelete information about a file, LUN or NVMe namespace clone.

cluster1::> volume file clone show-autodelete -vserver vs1 -clone-path /vol/v1/f1
Vserver Name: vs1
        Clone Path: /vol/v1/f1
Autodelete Enabled: true
Top of Page