====== Deleting Volumes ======
You must have **Alter** rights to delete volumes
Select the required volume, or range of volumes from the inventory window you want to delete.
Right click highlighted volume/s and select ''Delete'', or press Delete (DEL) on the keyboard.
{{:master:tapemaster_delete_volume.png}}
The **Volume Deletion** window will display the **Repositories** where the volumes to be deleted are located in the top pane and Volume-ID's in the lower pane.
If the **Volume Deletion** window is not displayed it is because you are running an outdated version of TapeMaster. Instructions to delete volumes in older versions of TapeMaster can be found [[master:delete_volumes_legacy|here]]
{{:master:tapemaster_delete_volume_deletion.png}}
Each row in the top pane will, along with the repository description (or ID), list the number of volumes for deletion and the delete status of either **Deletes Allowed** or **Deletes Forbidden**.
For any repository listed with a status of **Deletes Forbidden** you must either:
* Right clicking the row and selecting ''Allow'' to change status to **Deletes Allowed**
* Right clicking the row and selecting ''Remove'' to remove the volumes before deletion of any volumes located in a repository with **Deletes Allowed** status.
{{:master:tapemaster_delete_volume_deletion_allow.png}}
Click ''Delete Volumes'' and ''Yes'' to the delete confirmation to delete the volumes.
{{:master:tapemaster_delete_volume_deletion_allow_confirm.png}}
As deleting volumes is permanent, clicking ''No'' to the delete confirmation is your last opportunity to cancel the delete function.
When a volume is deleted its historical entries remain in the database. If a deleted Volume is added back in to the database, all previous history records including when deleted and added back, are listed under that volumes ''History'' tab.
{{object:tapemaster_delete_add_volumes.png}}
When a [[object:volume|Volume]] is deleted its historical entries remain in the database. If a deleted [[object:volume|Volume]] is added back into the database, all previous history records including when deleted and added back, are listed under that [[object:volume|Volumes]] ''History'' tab.
As setting [[object:repository|Repository]] to **Allow Deletes** alters the properties of that [[object:repository|Repository]], if required, reset the [[object:repository|Repository]] to **no deletes** by right-clicking the required [[object:repository|Repository]], selecting ''Properties'' and change the ''Allow Deletes'' field in the ''Options'' tab to false.
{{master:master_repository_properties_allow_deletes.png}}
{{tag> technote volumes delete master}}