{:new_window: target="_blank"}
- Click Create to start the Create Volume dialog.
- Provide the size of the volume that you want. Decimal numbers are not accepted. The size is limited by the quota that is assigned to your organization.
- Provide a name. The name is for display purposes only.
- Optionally, provide a more detailed description of the volume.
- Click Create to submit the information and close the dialog.
Creating a volume can take a few moments.
- Select the volume that you want to delete.
- Click Delete.
- Confirm the deletion of this volume.
You cannot delete a volume that is attached to a virtual server. You must detach the volume first.
You can increase the volume in size to up to ten times the original size through the Extend action. You cannot reduce the size of a volume.
- Select the volume to be extended.
- Click Extend.
- Select the new size of the volume. Provide the new total size of the volume.
- Click Extend to submit the information and close the dialog.
To be extended, a volume must be in Available state.
Volumes are attached and detached from virtual servers as devices with a specific device name. For a virtual server to be able to persist data on a volume, you must attach the volume to the virtual server.
To attach a volume, follow these steps:
- Select a volume from the list of available volumes.
- Click Attach.
- In the Attach dialog, select an instance of a virtual server from the drop-down list.
- Optionally, specify the device to be used to attach this volume. If you do not specify the device, the system automatically selects the first available device on the virtual server.
- Click Attach to submit the information and close the dialog.
The volume is listed in the table of attached volumes with the information about the virtual server instance. The virtual server can now use the device to persist data.
To detach a volume, follow these steps:
- Select a volume from the list of attached volumes.
- Click Detach.
- Confirm the detachment in the dialog.
After it is detached, the volume is no longer available for I/O operations in the virtual server instance. In the {{site.data.keyword.blockstorageshort}} service UI, the volume is now available to be attached to other virtual servers.