volume file async-delete show

List ongoing async directory delete jobs

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

Description

The event log will contain events for async directory delete operations that have already completed. Use the event log show -event async_delete command to find completed async directory delete operations.

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
If this parameter is specified, ongoing async directory delete operations that match the specified Vserver are displayed.
[-volume <volume name>] - Volume Name
If this parameter is specified, ongoing async directory delete operations that match the specified volume are displayed.
[-jobids <text>, ...] - Job ID
If this parameter is specified, ongoing async directory delete operations that match the specified job ID are displayed.
[-paths <text>, ...] - Directory Path
If this parameter is specified, ongoing async directory delete operations that match the specified path are displayed.
[-deleted-files <integer>, ...] - Number of files deleted
This parameter specifies the number of files deleted as part of the corresponding async-delete job in a FlexVol.
[-deleted-dirs <integer>, ...] - Number of directories deleted
This parameter specifies the number of directories deleted as part of the corresponding async-delete job in a FlexVol.
[-deleted-bytes <integer>, ...] - Deleted size in bytes
This parameter specifies total number of bytes deleted as part of the corresponding async-delete job in a FlexVol.

Examples

The following example shows that there are two async directory deletes in progress; one in flexvol vol1 and another one in flexgroup fg.

cluster1::*> volume file async-delete show
	Vserver      Volume       Job ID       Path         Progress
                                                            (#File  #Dir   Size(B))
	------------ ------------ ------------ ------------ ---------------------
	vs1          vol1         0:2          d2/dd          1250    2      24560
        vs2          fg           0:1          d1/d2            -     -          -