Delete disk
Delete disk
Local disk can only be deleted together with the server to which it is connected.
Network disks can be deleted together with the server or disconnected from the server and deleted separately.
carefully
If you delete the disk, the data cannot be recovered. We recommend that you make a copy of the data before deleting the disk — disk image or create another disk from this disk. The snapshots of the disk will be deleted with the disk.
Control panel
OpenStack CLI
- If the disk is connected to a cloud server, disconnect the disk from the server.
- In control panel go to Cloud platform → Disks.
- On the menu. of the disk, select Delete disk.
-
If the disk is connected to a cloud server, disconnect it from the server:
openstack server remove volume <server> <volume>
Specify:
<server>
— ID or server name. The list can be viewed using the commandopenstack server list
<volume>
— ID or disk name. The list can be viewed using the commandopenstack volume list
-
Remove the disk:
openstack volume delete <volume>