Managing your cloud resources with OpenStack: Difference between revisions

Jump to navigation Jump to search
Line 122: Line 122:


==Detaching a Volume==
==Detaching a Volume==
If a volume has been attached to the VM as an additional volume (e.g. attached to <code>/dev/vdb</code>, <code>/dev/vdc</code>, etc.) it can be detached by logging into the project cloud OpenStack dashboard, and using the left side navigation pane to openn the "Volumes" menu and select "Volumes". You will be presented with a list of all your volumes for that cloud project. Find the row for the particular volume you wish to detach and go to the drop down box at the far right under the "Actions" column and select "Manage Attachments". On the new "Manage Volume Attachments" screen which appears, the VM the volume is attached to will be listed, next to which will be a "Detach Volume" button. Click this button to detach the volume, it will ask you to confirm you want to detach this volume by clicking the "Detach Volume" button on a second screen that appears.
If a volume has been attached to the VM as an additional volume (e.g. attached to <code>/dev/vdb</code>, <code>/dev/vdc</code>, etc.) it can be detached by logging into the project cloud OpenStack dashboard, and using the left side navigation pane to open the "Volumes" menu and select "Volumes". You will be presented with a list of all your volumes for that cloud project. Find the row for the particular volume you wish to detach and go to the drop down box at the far right under the "Actions" column and select "Manage Attachments". On the new "Manage Volume Attachments" screen which appears, the VM the volume is attached to will be listed, next to which will be a "Detach Volume" button. Click this button to detach the volume, it will ask you to confirm you want to detach this volume by clicking the "Detach Volume" button on a second screen that appears.
If an attached volume is the boot volume for the VM (e.g. attached to <code>/dev/vda</code>) the VM must be deleted before the volume can be detached. If you try this procedure on a boot volume before you have deleted the VM it is attached to, you will get an error message saying "Unable to detach volume".
If an attached volume is the boot volume for the VM (e.g. attached to <code>/dev/vda</code>) the VM must be deleted before the volume can be detached. If you try this procedure on a boot volume before you have deleted the VM it is attached to, you will get an error message saying "Unable to detach volume".


cc_staff
169

edits

Navigation menu