Logo
OpenScaler

Manage Block Storage Volume

Attach Volume

  • Navigate to a computer you want to attach the block storage to
  • Click on the "Storage" tab
  • Then hit the Attach Block Storage Volume button

Attach existing Block Storage Volume

On the window that appears, choose "Existing Volume" and select the volume you want to attach:

Block Storage Volume Attachment

If Volume is not visible

If the volume doesn't appear on the list, check if it's not attached to another machine on " Storage" Page on side menu.

Mount Volume

Once the volume is created, you can mount it to a machine:

  1. Access the console of the your computer where volume is attached
  2. Create a folder to mount the volume to (if not already created):
sudo mkdir -p /mnt/my-volume
  1. Mount the volume to the folder you created (replace my-volume with the label of your volume):
sudo mount /dev/disk/by-label/my-volume /mnt/my-volume
Volume Label

If you forgot the label of your volume, you can always check it with lsblk command:

lsblk -f

Detach Volume

Before Detaching

Always make sure your volume is unmounted before detaching it to avoid data loss !

To unmount a volume, run the following command:

sudo umount /mnt/my-volume

Where my-volume is the label of your volume.

  • Simply navigate to your computer where the volume is attached
  • On the "Storage" tab, find your volume and click on the "Detach" button

On this page