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

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

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

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more