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

Create and Attach a Cloud Block Storage Volume


In Cloud Block Storage (CBS), we work with volumes. Volumes are the detachable block storage devices that expand the storage capacity of your server. You can think of them like USB memory sticks. And, like USB memory sticks, they may only be attached to one server at a time, and can exist with your data on them without being attached to a server.

There are two types of volumes: Standard Performance SATA drive storage and High Performance solid state drive (or SSD) storage. Each type is charged by the GB of storage you provision, so create volumes of the size you need. Volumes can be anywhere from 100 to 1000 GB, and you can always create larger volumes later.

In this page, you will learn how to:

Create the Volume

Make sure you are logged in to the Cloud Control Panel.

Confirm the name and region of the Server you will attach the Volume to. Volumes can only be attached to Servers in the same region.

  1. Click "Servers" in the main navigation.
  2. Click "Block Storage" in the Servers sub-navigation.
  3. Click the "Create Volume" button.
  4. Give your Volume a name (using alphanumeric, underscore, and dash characters, please).
  5. Select the Region.
    Note: CBS Volumes and their Server must be in the same region.
  6. Select a Volume Type:
    • Standard - This is a standard SATA drive for users who need additional storage on their Cloud Server.
    • High Performance - This is an SSD drive, which offers a higher performance option for databases and high performance applications.
  7. Select the size of the Volume, from 100 GB to 1 TB.
    Volume maximums:
    • 1 TB / Volume
    • 14 Volumes / Server
    • 50 Volumes / region OR 10 TB / region (whichever is first)
  8. Click the "Create Volume" button.

The larger your Volume, the longer it may take to create.

When your Volume is created, a green "Available" icon displays under Status on the Volume details page, and the status bar turns green in the Block Storage Volumes list.

The next step is to attach your Volume, as described below.

To detach and delete the Volume, see "CBS - Detach and Delete a Volume".

View Volume Details

The Volume Details screen displays basic information about the Volume. Here you can see the Volume's Status, what Server it may be attached to, its size, region, and type. Additionally, if your Volume is attached to a Linux Server, you can see its path.

The Volume Details screen displays by default once you create the Volume.

You may also see a Volume's details by clicking its name in the Block Storage Volumes list. (Click "Servers" in the main navigation, then "Block Storage" in the sub-navigation.)

Status: This section displays the status of your Volume. Possible statuses are

  • Building -- Volume is still being created.
  • Available -- Volume is created, but not attached.
  • In-Use -- Volume is attached to a Server.
  • Deleting -- Volume is being deleted.

Attached to: This section displays the attachment status of your Volume. Possible statuses are

  • Unattached -- The Volume is unattached to a Server.
  • Attach Volume... -- Click this to display a list of Servers you can attach the Volume to.
  • <Name of Server> -- If your Volume is attached, you can click the Server's name to see the Server's details.
  • Detach Volume... -- Volume is attached; click this link to detach it.
    Note: you should make sure the volume is unmounted before you detach it. See "CBS - Detach and Delete Volumes" for details.
  • <path> -- If your Volume is attached to a Linux Server, its path (/dev/XXXX) displays here.

A brief word on <path>:

The file path /dev/XXXX is what is known as a device file, or special file. It appears as an ordinary system file, but it serves as an interface for a device driver. It allows the operating system to read and write data with attached devices, such as storage volumes. Your Cloud Block Storage volumes appear as available devices once you have attached them to your cloud server.

ID:
This is the ID of the Volume

Size:
The size of the Volume

Region:
Where the Volume is located

Type:
The type of Volume, either Standard (a SATA drive) or High Performance (an SSD drive)

Snapshots:
This section displays how many snapshots you have of the Volume. There is also a link which allows you to Create a Snapshot. Snapshots are described later in this Getting Started Guide.

Attach the Volume to a Server

When the Volume is created, it exists by itself and cannot have any data written to it. The Volume must be attached to a Server before anything else can be done with it. The process for attaching a Volume is the same for all Servers. After you attach the Volume, you must partition, format, and mount it, which we cover on the next page.

If you'd like to know more about the differences between attaching and mounting a Volume, read the article on "Attaching vs. Mounting".

You may only attach a Volume to a Server in the same region.

  1. Display the "Select a Server" window by one of two methods:
    • From the Volume Details screen, click "Attach Volume" link
    • From the Block Storage Volumes screen, click a Volume's "Manage" button (the cog at the left) and select "Attach Volume"
      The "Select a Server" menu only displays Servers in the same region as the CBS Volume.
  2. Click the dot next to a Server name to select it
  3. Click the "Attach Volume" button

It may take a few minutes to attach your Volume to your Server. While the CBS Volume is attaching, its status bar will be yellow in the Block Storage Volumes list. When it is done attaching, its status bar will turn green and the name of the Server it is attached to displays under the heading "Attached to".

When your Volume is attached, you will need to partition, format, and mount it, which we cover on the next page, "Prepare Your Volume".



© 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

10 Comments

Is this only compatible with generation 2 servers? No servers show in my attach list, despite many in the same region.

I'm afraid that is the case. CBS is not compatible with first-generation instances. We'll try to make that more clear in the documentation, sorry about that.

How do we migrate to Generation 2 servers? And please please tell me that does not require an IP address change? And one more question, why does it say the volume size can't be resized later. I talked with a customer service rep and they said you can start with 100GB and then it can grow to 1000GB at which you have to add another volume. I'm worried that if I choose 100GB then when I use all that space I will have to add another volume? Can you clarify? Thanks.

Bad news on both scores, I'm afraid. Migrating to a next-generation server to use CBS would indeed involve a change in IP address. There are a couple options for performing a migration but some missing features to consider first - primarily, that next-gen servers don't yet support multiple IP addresses or controlling reverse DNS lookup options. You can get more information on considerations and options here:

http://www.rackspace.com/knowledge_center/article/rackspace-open-cloud-migration-considerations

As to CBS volumes, they cannot be resized. You can attach more than one CBS volume to a server, however, so that was hopefully what the rep had in mind when you talked to them. While you woudn't be able to scale a volume from 100GB to 1000GB, you could attach a 100GB volume then attach a new volume with 900GB later to expand the server's storage.

Okay, it would be good if your customer service folks knew that as well, check out our chat transcript, he definitely gave me wrong information. In addition, I was told that you are working on a migration tool that will allow us to keep our IP address. Can you confirm that?

I've passed a note about the CBS resizing back so the misinformation can be addressed. Thanks, Chris.

I know that we plan to have a one-click migration option that would preserve the instance's IP address, but I can't say exactly when it would be available. It won't be this year, but hopefully we can have that option available in early 2013.

Any word on this migration tool?

I have received an update, and it sounds like the tool's development has been halted. The only migration paths supported are a manual migration or use of the image-based migration (which would change the IP address).

You might post to our product feedback forum requesting a migration path that preserves the IP address:

http://feedback.rackspace.com/forums/71021-product-feedback

If enough interest is expressed they may look into a means of facilitating such a migration.

Is CBS compatible with FreeBSD? Can't seam to attach to a FreeBSD 9 server from the dashboard.

It's supposed to be, but it does appear that there's a problem with FreeBSD compatibility right now. Our developers are aware of the issue and are working on a fix. I'll let you know once I have an estimate of when they'll be done.

Add new comment