Administrator's Guide


Deleting Storage Pool Volumes

You can delete volumes, and optionally the client files they contain, from either primary or copy storage pools.

If files that are not cached are deleted from a primary storage pool volume, any copies of these files in copy storage pools will also be deleted.

Files in a copy storage pool are never deleted unless:

Tip:If you are deleting many volumes, delete the volumes one at a time. Concurrently deleting many volumes can adversely affect server performance.

Task Required Privilege Class
Delete volumes from any storage pool System or unrestricted storage
Delete volumes from storage pools over which they have authority Restricted storage

Deleting an Empty Storage Pool Volume

You can delete empty storage pool volumes. For example, to delete an empty volume named ADSM03, enter:

delete volume adsm03

On an administrative client, you will receive the following confirmation messages, unless the client is running with the NOCONFIRM option:

+--------------------------------------------------------------------------------+
|ANR2200W  This command will delete volume ADSM03                                |
|from its storage pool after verifying that the volume                           |
|contains no data.                                                               |
|Do you wish to proceed? (Y/N)                                                   |
+--------------------------------------------------------------------------------+

After you respond yes, the server generates a background process to delete the volume.

The command may be run in the foreground on an administrative client by issuing the command with the WAIT=YES parameter.

Deleting a Storage Pool Volume with Data

To prevent you from accidentally deleting backed-up, archived, or space-managed files, the server does not allow you to delete a volume that contains user data unless you specify DISCARDDATA=YES on the DELETE VOLUME command.

For example, to discard all data from volume ADSM03 and delete the volume from its storage pool, enter:

delete volume adsm03 discarddata=yes

The server generates a background process and deletes data in a series of batch database transactions. After all files have been deleted from the volume, the server deletes the volume from the storage pool. If the volume deletion process is canceled or if a system failure occurs, the volume might still contain data. Reissue the DELETE VOLUME command and explicitly request the server to discard the remaining files on the volume.

To delete a volume but not the files it contains, move the files to another volume. See "Moving Files from One Volume to Another Volume" for information about moving data from one volume to another volume.
Residual data:Even after you move data, residual data may remain on the volume because of I/O errors or because of files that were previously marked as damaged. (ADSM does not move files that are marked as damaged.) To delete any volume that contains residual data that cannot be moved, you must explicitly specify that files should be discarded from the volume.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]