volume file clone show-autodelete

Contributors

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 or LUN clone. The command displays the following information about a file or LUN clone:

  • Vserver Name

  • Clone Path

  • Whether auto deletion of file or LUN 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 or LUN clone belongs.

-clone-path <text> - Clone Path

This specifies the path of the file or LUN clone.

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

If this parameter is true, the file or LUN 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 or LUN 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