How to Create a Volume : Step-by-Step Guide

Adding extra storage to your VPS is essential as your projects grow. Volumes allow you to expand disk space independently of your main server disk, providing flexibility, performance, and data management options. Here’s a detailed guide on creating a volume on your Cyberin VPS.

What is a volume?

A volume is a separate block storage that can be attached to your VPS. Unlike the main disk, volumes can:

Volumes are perfect for high-storage needs without upgrading your entire VPS.

Benefits of Creating a Volume on Cyberin VPS

  1. Expand Storage Easily
    Add more space for applications, backups, or data without rebuilding your server.

  2. Better Data Management
    Store important files separately from the main system disk for safety.

  3. Flexible Usage
    Volumes can be attached to multiple servers at different times.

  4. Improved Performance
    Dedicated storage volumes can improve read/write speeds for heavy applications.

Step-by-Step Guide to Create a Volume on Cyberin VPS

Step 1: Log in to Cyberin Cloud Dashboard

Step 2: Select Your VPS

Step 3: Add a Volume

Step 4: Configure the Volume

Step 5: Attach the Volume

Step 6: Mount and Format the Volume (via SSH)

Once attached, log in to your VPS via SSH or Console:

# List all disks
lsblk

# Create a filesystem on the new volume (example: ext4)
sudo mkfs.ext4 /dev/sdb

# Create a mount point
sudo mkdir /mnt/newvolume

# Mount the volume
sudo mount /dev/sdb /mnt/newvolume

# Optional: Add to /etc/fstab to mount automatically on reboot
sudo nano /etc/fstab

Tips for Managing Volumes

Conclusion

Creating a volume on Cyberin VPS allows you to expand storage, manage data efficiently, and optimize server performance. By following these steps, you can quickly add, mount, and use extra storage for your projects.