Question

Ubuntu Space Full but expanding droplet is not increasing partition size / ODOO erp crashed

HI,

Using Ubuntu 22.04.01 LTS Droplet All of a sudden my droplet crashed and i found our my space was full

Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 198M 25M 174M 13% /run /dev/vda1 ext4 9.6G 9.6G 0 100% / tmpfs tmpfs 988M 0 988M 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/vda15 vfat 105M 6.1M 99M 6% /boot/efi

I increased my droplet size to 50gs and it still has not increased my /vda1 size

I am a rookie and I do not know how to do this. Please someone help. I need my ODOO service started or if not atleast get a backup of Database which runs on PostgreSQL.

Ubuntu command wont let me do any additions / installs as ofcourse due to lack of space.

I have tried to find any oversize files but there seems to be none. It seems the database might itself be the cause.

Regards, Mitul


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

HI i found the solution using CHATGPT. thanks you

sudo parted /dev/vda resizepart 1 100%

then

sudo resize2fs /dev/vda1

and then rebooted

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.