Quick Start
In order to create a block storage volume, you need to have a computer. If you don't have one, you can create one as shown here.
Create Block Storage
Navigate to a computer
- 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
Create or attach existing Block Storage Volume
On the window that appears, you have two options:
- Create a new Block Storage Volume
- Attach an existing Block Storage Volume
For a new Block Storage Volume, you need to provide basic information about the volume like it's size (in GB), filesystem type (ext4, xfs, etc), and and file system label.
Note
You'll need the "filesystem label" to identify your volume inside your machine as shown here.
Choose a name for your volume or click the Generate Name button to get one generated for you.
Then if all is set, click on the "Create Block Storage Volume" button.
Mount Volume
Once the volume is created, you can mount it to a machine:
- Access the console of the your computer where volume is attached
- Create a folder to mount the volume to:
- Mount the volume to the folder you created (replace
my-volume
with the label of your volume):
Volume Label
If you forgot the label of your volume, you can always check it with lsblk
command:
Done !
You can now use your volume, for example by creating a file in it:
If you detach the volume and reattach it to another machine, all your data will be preserved just as you left it !