How to Use Block Storage Volumes

Block Storage Volumes are storage devices which can be attached to your RamNode cloud instances (currently NYC only) to increase their available space on-demand. Volume data is stored on NVMe drives and replicated across multiple nodes for high-availability and fault tolerance. Volumes can be attached and detached from Instances at will, and their data persists even if you destroy the associated Instance. You can manage your Volumes through the Cloud Control Panel or by using the OpenStack API.

Create a Volume

  1. Access the Cloud Control Panel and click the Volumes tab

  2. Click the orange + button at the bottom right.

  3. Give your Volume a name, enter the desired Volume size, and select the Volume type.

  4. Choose a Volume Source Type depending on your intended usage.

  5. Click Create Volume. Your new Volume will be displayed with AVAILABLE status once it's ready to use. Click on the Volume to show more details.

Attach a Volume

(NOTE: You may need to reboot your Instance from the cloud control panel to attach a Volume if launched prior to July 2020.)

Select the
Instance to which you want to attach your new Volume under the My Instances tab. Click the Volumes tab on the Instance page.

  1. Click Attach Volume and select the new Volume.

  2. After a few moments, the Volume will be displayed as IN-USE on the Instance Volumes tab.

Mount a Volume

  1. Access your Instance via SSH or console. Your Instance should detect a new drive /dev/vdb by default. You can confirm with commands lsblk or fdisk -l.

  2. Create a mount point for your Volume data:

    mkdir /mnt/volume1

  3. Format the Volume filesystem:

    (Only if you started with New Empty Volume as the Source Type. Only format it once, not each time you attach it.)

    mkfs.ext4 /dev/vdb

  4. Mount the Volume onto the mount point created above:

    mount /dev/vdb /mnt/volume1/

    If you want the Volume to be automatically mounted upon Instance reboot, add this line to /etc/fstab:

    /dev/vdb /mnt/volume1 ext4 defaults,noatime,nofail 0 2

Detach a Volume

From the My Instances tab, select the Instance from which you want to detach a Volume. Select the Volumes tab. Find the Volume and click the Detach Volume button. Click Confirm.

Extend a Volume

NOTE: Volume size can only be increased, not decreased.

  1. Click the Volumes tab and select the Volume you want to extend. Click the Extend button.

  2. Enter the new size for your Volume and click Extend Volume.

  3. Once your Volume is done extending, detach and re-attach it to the Instance.

  4. SSH into your Instance and check for filesystem errors (assuming you are using ext2, ext3, or ext4 for your Volume):

    e2fsck -f /dev/vdb

  5. Resize the filesystem to use the new Volume capacity:

    resize2fs /dev/vdb

  6. Mount the Volume again:

    mount /dev/vdb /mnt/volume1/


  • 9 Users Found This Useful
Was this answer helpful?

Related Articles

How do I use DNS Zones?

Using the Cloud DNS Zone Editor This article will describe solutions to common issues when using...

How do I add users to my cloud account?

The ability for cloud customers to create teams / manage users is under development. For now, you...

How to Fix an Empty System Log

The System Log tab in the cloud control panel displays console output from your instance. It...

Do you have a download file/speed test?

Please use our Looking Glass test files.

How to Create and Use Private Networks

Our OpenStack Cloud allows you to create your own Private Networks. You can use private IPs for...