Block Volumes
A volume is a network block device backed by Ceph. You attach it to an instance where it appears as an additional disk you can partition, format, and mount.
Create a volume
Under Storage → Volumes → Create volume, choose a region, a size (in GiB), and an optional name. The volume is created in the same region as the instances you intend to attach it to.
bash
fm storage volume create --name data-1 --region sweden --size 100Attach and mount
Attach a volume to an instance from the volume detail page or the instance's Storage tab. Once attached, log in and mount it:
bash
# Identify the new device (e.g. /dev/vdb), then:
sudo mkfs.ext4 /dev/vdb
sudo mkdir -p /mnt/data
sudo mount /dev/vdb /mnt/dataAdd an entry to /etc/fstab to mount it automatically on boot.
Detach and delete
Detach a volume before deleting it. Detaching keeps the data; deleting destroys it permanently. A volume must be detached from all instances before it can be deleted.
Notes
- A volume can be attached to one instance at a time.
- Volumes are billed by provisioned size for as long as they exist, whether or not they are attached.