How to Add and Manage Additional Storage Volumes in Virtualizor

Knowledgebase / How to Add and Manage Additional Storage...

How to Add and Manage Additional Storage Volumes in Virtualizor

0 found helpful (0 votes) ...
Back to Knowledgebase

Virtualizor allows you to create and attach additional virtual disk volumes to your VPS. This is useful when you need more storage space without changing your main VPS plan — for example, to store uploaded files, database dumps, or media assets on a separate disk. Additional volumes are available on KVM-based VPS instances only — they are not supported on OpenVZ or LXC.


How to create a new volume

  1. Log in to the Virtualizor Enduser Panel.
  2. In the sidebar, click Volumes.
  3. Click Add Volume.
  4. Fill in the form:
    • VPS ID: select the VPS to which this volume will be attached
    • Size (GB): enter the desired size of the new volume
    • Format: choose the filesystem format — ext4 is recommended for most Linux use cases; xfs is preferred for large files and high-throughput workloads
    • Mount Point: enter the directory path where the volume should be mounted inside the VPS (e.g. /data or /mnt/storage); leave blank if you prefer to mount it manually
    • Attach now: tick this checkbox to attach the volume to the VPS immediately after creation
  5. Click Save.

Note: if a mount point is specified, the volume will be mounted automatically inside the VPS only if the Virtualizor guest agent is installed on the VPS. If you are unsure whether the guest agent is present, contact TPC Hosting support.


How to attach an existing volume to a VPS

  1. Go to Volumes → List Volumes.
  2. Find the volume you want to attach.
  3. Click the Attach icon next to it.
  4. Select the target VPS from the drop-down list and click Attach.

How to detach a volume

  1. Go to Volumes → List Volumes.
  2. Find the volume you want to detach.
  3. Click the Detach icon next to it and confirm.

A volume must be detached before it can be resized or deleted. Make sure you unmount the volume inside the VPS (with umount /your/mount/point) before detaching to prevent data corruption.


How to resize a volume

  1. Detach the volume first (see above).
  2. In the volume list, click the Resize icon next to the detached volume.
  3. Enter the new size. Volume size can only be increased, not decreased.
  4. Click Resize. After resizing, re-attach the volume and use resize2fs (for ext4) or xfs_growfs (for xfs) inside the VPS to expand the filesystem to fill the new size.

How to delete a volume

  1. Detach the volume first.
  2. In the volume list, click the Delete icon next to the detached volume.
  3. Confirm the deletion. This action is permanent and cannot be undone.

Important: volume backups

Additional volumes are not included in standard Virtualizor VPS backups. If the data on your additional volume is important, back it up manually using one of these methods:

  • Use rsync or scp to copy data to another server or storage location.
  • Set up a cron job that regularly archives the volume contents to an off-site location.
  • Use a dedicated backup tool such as BorgBackup or Restic.

Troubleshooting

  • Volume option is not available: additional volumes are only supported on KVM VPS instances. If your VPS uses OpenVZ or LXC, this feature is not available. Contact TPC Hosting support to discuss alternative storage options.
  • Volume is attached but does not appear inside the VPS: if no mount point was specified, the volume will appear as an unformatted block device (e.g. /dev/vdb). Format it with mkfs.ext4 /dev/vdb and then mount it manually or add it to /etc/fstab for automatic mounting on boot.
  • Cannot detach the volume: make sure the volume is not actively in use by any process inside the VPS. Unmount it first with umount /your/mount/point, then retry the detach from Virtualizor.

Was this article helpful?



Still need help?

Open a support ticket →

On This Page