Previous Topic: repair (Volume Management)--Repair VolumeNext Topic: volume clean Command Output Specification


clean (Volume Management)--Destroy Unused Volume(s) and Unused Volume Stream(s)

Display list of or destroy unused volume(s) or volumes that have broken symbolic links.

Syntax
volume clean [ --unused | --link ] [--fail ] [--force] 
volume clean --status [ --unused | --link ] [ --batch ]  
Arguments
--unused

Destroy or display unused volumes that don't belong to any known entity (application, class, and so on).

--link

Destroy or display broken symbolic link volumes (symbolic link volumes that point to a non-existing volume.)

--fail

Abort clean operation if there is any failure.

--force

Disable prompting and user verification.

--status

Display list of unused volumes

--batch

Display output in UDL format

Examples
volume clean

clean all unused volumes and broken symbolic link volumes

volume clean --unused

clean unused volumes

volume clean --link

clean broken symbolic link volumes

volume clean --status

list all unused volumes and broken symbolic link volumes

volume clean --status --unused

list unused volumes

volume clean --status --link

list broken symbolic link volumes

Notes:

This section contains the following topics:

volume clean Command Output Specification