content_image/995945.jpg
## 11.9 Deleting volumes 

You can use the GUI to delete volumes that are no longer needed. By default, the GUI enforces safe deletion of volumes that are in use . 

In the case of FB volumes, a volume is considered to be in use  if it is in a Copy Services relationship or if the volume has received an I/O operation in the last five minutes. A CKD volume is considered in use  if it participates in a Copy Services relationship, or if the IBM Z path mask indicates that the volume is in a grouped state or online to any host system. 

You can instruct the GUI to force the deletion of volumes that are in use  by selecting the optional checkbox in the Delete Volumes  dialog box, as shown in #1 in Figure 11-106. Note though, that this does NOT apply to volumes that are in a safeguarded copy relationship. 

The following example shows the steps needed to delete an FB volume that is in use : 

1. Navigate to the hosts-centric Volumes view, Volumes -> Volumes by Host. 

2. Select the desired volume to be deleted, then click Actions -> Delete  as shown in #2. Note that the actions menu can also be displayed by the right-click action of the mouse after selecting the desired volume. 

3. The Delete Volume dialog is displayed (#3). 

4. You are required to confirm the action by entering the unique code displayed by the GUI in the dialog as shown in #4. 

5. Since the selected volume is mapped to the host itso-host  (#5), select the checkbox as shown in #1, and click on OK . 

6. A task window opens, and is updated with progress on the task until it is completed: 

<img src='content_image/995945.jpg'>

