Skip to main content

Extend Volume (Resize Volume)

When storage requirements increase, you can expand volume size without creating new volumes or migrating data. VNETWORK Cloud's volume expansion feature allows flexible and safe capacity increases.

Volume Expansion Steps

Figure needed: Volume resize interface showing current and new size options Volume expansion interface

1. Expand via Management Interface

  1. Access volume details or server details page
  2. Click Resize button next to volume
  3. Select new size (must be larger than current)
  4. Review updated costs
  5. Click Update Configuration to complete
Critical Limitation - Cannot Reduce Size
  • Only expansion supported: Volume size can only be increased, never reduced. If smaller volume needed, create new volume and migrate data
Important Notes
  • Expansion process preserves existing data
  • Create snapshot before expansion as precaution
  • Billing applies to new size immediately after expansion

Post-Expansion OS Steps

After successful volume expansion through VNETWORK Cloud, additional OS-level steps are required for the system to recognize and use the new space:

For Linux

Check Volume Status

First, verify the expanded volume:

lsblk

You'll see the volume with new size (e.g., /dev/vdb), but partition may still show old size.

Expand Partition (if exists)

If volume has partitions, use growpart to expand:

sudo growpart /dev/vdb 1

(Where 1 is partition number, usually 1 if only one partition)

Expand Filesystem

For ext4:

sudo resize2fs /dev/vdb1  # If partition exists
# or
sudo resize2fs /dev/vdb # If using entire volume

For XFS:

sudo xfs_growfs /mnt/data  # Replace /mnt/data with your mount point

Verify Results

df -h

For Windows

1. Open Disk Management

  • Right-click Start menu and select Disk Management
  • Or run diskmgmt.msc from Run (Windows + R)

2. Extend Partition

  1. Find the expanded volume in the list
  2. Right-click the partition and select Extend Volume
  3. Follow wizard to use all new space
  4. Click Finish to complete

Completion Time

  • VNETWORK Cloud expansion: Seconds to minutes depending on size
  • OS updates:
    • Linux: Seconds to minutes
    • Windows: Few minutes

Common Errors and Solutions

ErrorCauseSolution
Cannot expand partitionPartition busy/in useStop processes using volume, may need server restart
Resize2fs errorFilesystem needs checkRun e2fsck -f /dev/vdbX before resize2fs
Windows no Extend optionAdjacent partition exists after currentDelete adjacent partition or use third-party tools
New space not visibleNeed to refresh volume infoRestart server and retry

Best Practices

Recommendations
  1. Plan ahead: Estimate needs and expand with extra capacity
  2. Create snapshots: Always backup before making changes
  3. Timing: Perform expansion during low-impact periods
  4. Monitor: Track volume usage regularly to avoid sudden space shortage
  5. Prepare backup plan: Ensure recovery options if issues occur

Limitations and Notes

  1. Immediate billing: Costs apply immediately for new size
  2. Mount point unchanged: Volume access point remains same after expansion
  3. Minimum unit: Expand by GB units (MB not supported)
  4. Completion time: May take time with large volumes or high system load