• Sales: 1-800-961-2888
  • Support: 1-800-961-4454

Detach and Delete Cloud Block Storage Volumes


Detaching a Cloud Block Storage (CBS) Volume will prevent you from writing to it when you want to take a Snapshot. It is also useful when you want to take a Volume offline for storage purposes, or to move a Volume to another Server. Lastly, you should detach a Volume before you delete it. In all cases, you must unmount the Volume before you detach it through the Control Panel. The instructions are below.

On this Page:

Detach a Volume

There are a few reasons to detach a Volume:

  • To prevent writes when you take a Snapshot
  • To move it to another Server
  • To delete it

Before you detach a Volume from a Server, you should unmount it to prevent errors.

Unmount Volume from a Linux Server.

In the below example, "cbsvolume1" is the name of the volume:

Input:

# umount /mnt/cbsvolume1/

Output:

The output is the prompt ready for the next command.

#

Unmount a Volume from a Windows Server.

  1. In the Server Manager, Select File and Storage Services > Disks.
  2. Under the "Disks" window, right-click the CBS Volume. Select "Take Offline" from the pop-up menu. If the "Take Disk Offline" warning window displays, click "Yes".

The CBS Volume no longer displays as a drive under "Computer".

In the Rackspace Cloud Control Panel, click "Block Storage" in the Servers sub-navigation to display the "Block Storage Volumes" screen.

Click the Actions button (the cog) next to the Volume name. Click the "Detach Volume" link.

Click the "Detach Volume" button.

The Volume detaches.
Note: It may take several minutes for your Volume to detach.

 

Delete a Volume

 In the Rackspace Cloud Control Panel, click "Block Storage" in the Servers sub-navigation to display the "Block Storage Volumes" screen.

Click the Actions button (the cog) next to the Volume name. Click the "Delete Volume" link.



© 2011-2013 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License


See license specifics and DISCLAIMER

2 Comments

I would really like to be able to delete a volume but keep a snapshot or two around for backup purposes. Right now the UI prevents that (and maybe the API does too but I haven't checked). Is this possible/planned for the future?

Hey Ken,

At the moment, this feature is not yet available. However, we plan on adding this ability in the future; unfortunately, I don't have a set date for you.

Add new comment