There was a problem loading the comments.

Storage Options

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

The instance already has a root disk. Volumes are extra.

 

Use a volume when the guest needs more disk than the flavor root disk, or when that disk should outlive the server. Create it under CloudVolumes, then attach it from the server page. Launch is in Creating and Managing Virtual Machines.

 

Create a volume

From CloudVolumes, stay on the Volumes tab. Click + Create Volume.

Volumes tab with Create Volume and empty grid

  1. Location is SiouxFalls.
  2. Volume source is No source, empty volume unless you are cloning from a snapshot.
  3. Storage type is whatever this project offers. A lab project may show test; pick the type listed for your project.
  4. Size is 25 GB, 100 GB, 500 GB, 1000 GB, or Other. This example is 25 GB.
  5. Name it something you will recognize. This example is docs-vol.
  6. Click + Create Volume.

Create Volume form: SiouxFalls, empty source, 25 GB, docs-vol

 

Attach it to a server

Open the server (CloudServers, click the name). The Volumes tab is extra disks on top of the root disk. Until one is attached you will see There are no volumes. Click + Attach Volume and pick docs-vol.

demo-ubuntu Volumes tab with Attach Volume

 

Format and mount

SSH in, then find the new disk:

lsblk

Format it once, mount it, and persist the mount by UUID from blkid:

sudo mkfs.ext4 /dev/vdb
sudo mkdir /mnt/data
sudo mount /dev/vdb /mnt/data
sudo blkid /dev/vdb

Put that UUID in /etc/fstab so the volume remounts after reboot:

UUID=YOUR-UUID /mnt/data ext4 defaults 0 2

 

Snapshots

On CloudVolumes, open the Snapshots tab. That is a point-in-time copy of a volume. An empty project shows There are no snapshots.

Volumes Snapshots tab, There are no snapshots

The server page also has a Snapshots tab. That one is a copy of the instance disk, not the extra volume. Take one before a risky change.

 

Object storage

For files and backups that are not a disk, use CloudObject Storage. Uploading in the portal is size-limited. For full-size transfers use the S3 API: Using Cyberduck with Gozunga's Object Storage API and Configuring s3cmd with Gozunga Cloud Files.

Attachments


Share via
Did you find this article useful?  

Related Articles

© Gozunga