Skip to end of banner
Go to start of banner

Attach a Storage Volume

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

This page:

Create a volume


Login to your Nimbus dashboard.

Navigate to Volumes > Volumes, then click on the "+ Create Volume" button.

Enter a volume name and choose a size of your choice in gigabytes, then click on the "Create Volume" button.

You will be taken back to the volumes page. From there, click on the drop down arrow next to "Edit Volume" and select "Manage Attachments".

Select the instance you want to attach this volume to, then click on the "Attach Volume" button.


Format and mount a filesytem


Once you have attached the volume as above, ssh-login to your instance from a terminal.

Check that you have properly attached the volume:

>sudo fdisk -l /dev/vdc

You should see this returned:

Disk /dev/vdc: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Go on to format the volume (CAUTION: don't do this step if it is not a new volume, as it will wipe out the volume):

>sudo mkfs.ext4 /dev/vdc

Then mount the volume to a new directory called /data:

>sudo mkdir /data
>sudo mount /dev/vdc /data

Check your new /data volume:

>df -h | grep vdc

You have now successfully attached and mounted your storage volume!

Access and Use Your Nimbus Instance
  • No labels