Skip to main content

volume file async-delete client enable

Contributors
Suggest changes

Enable async delete of a directory from the client

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

Description

The volume file async-delete client enable command enables async delete of a directory on the volume, from client applications. When async directory delete from the client is enabled, 'mv' or 'rename' of a directory, to the trashbin name, triggers async delete of the directory.

Parameters

-vserver <vserver name> - Vserver Name (privilege: advanced)

This specifies the Vserver on which the volume resides.

-volume <volume name> - Volume Name (privilege: advanced)

This specifies the name of the volume.

[-trashbin <text>] - Trashbin Directory Name (privilege: advanced)

This specifies the name of the trashbin directory.

Examples

The following example enables async delete of directory in volume "vol1" hosted in Vserver "vs1" from client.

cluster1::*> volume file async-delete client enable -vserver vs1 -volume vol1 -trashbin ntaptrash