Dexciss Technology - Upsize Contabo Server Storage with the Incremented Space

Use the command below to provision the increased storage for the Contabo Server

 · 1 min read

Ensure that you have taken a snapshot before going ahead with partition resizing


Run the following command:

sudo apt install cloud-guest-utils -y && sudo growpart /dev/sda 1 && sudo resize2fs /dev/sda1 && df -h /



✅ Step-by-Step to Resize /dev/sda1

1. Install cloud-guest-utils (if not installed)


sudo apt update
sudo apt install cloud-guest-utils -y

2. Grow Partition


sudo growpart /dev/sda 1

✅ You should see output like:


CHANGED: partition=1 start=... old: size=... end=... new: size=...

3. Resize Filesystem


sudo resize2fs /dev/sda1

4. Verify Success


df -h /

Expected:


Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       ~684G  75G  ~600G  ...

📌 One-Line Script for Quick Run:


sudo apt install cloud-guest-utils -y && sudo growpart /dev/sda 1 && sudo resize2fs /dev/sda1 && df -h /


Book a free 30min tailored consultation

Free first 30min of enterprise consultation to manage your business better using digital processes.


No comments yet.

Add a comment
Ctrl+Enter to add comment