VyralCloud
Documentation

Volumes & Storage

Persistent block storage for your data-intensive applications.


Overview

Volumes are flexible, high-speed block storage devices that you can attach to your servers. Unlike the server's root disk, Volumes persist independently. If you delete a server, the attached Volume (and your data) remains safe.

Mounting Guide

When you attach a volume to a server, it appears as a raw block device (usually /dev/sdb). You must format and mount it manually.

Terminal bash

# 1. Identify the new disk

lsblk

Output should show sdb or sdc with the size you chose.

# 2. Format the disk (EXT4)

# WARNING: Only do this once per volume!

sudo mkfs.ext4 -F /dev/sdb

# 3. Create a mount point

sudo mkdir -p /mnt/data

# 4. Mount the volume

sudo mount /dev/sdb /mnt/data

# 5. Make it permanent (fstab)

echo '/dev/sdb /mnt/data ext4 defaults,nofail 0 0' | sudo tee -a /etc/fstab

Resizing Volumes

You can increase the size of a volume at any time from the dashboard. However, you must also expand the filesystem within the OS after resizing.

sudo resize2fs /dev/sdb