Question

Failed t start any service : No space left

Posted April 3, 2021 211 views
NginxDigitalOcean SpacesLaravel

I am running a Laravel application on my droplet. But the server has gone down. When I debug, I found that there is an error “ No space left”. Then I resize my droplet and increase RAM as well as Disk size.

But it has still the same problem. Any help will be appreciated.

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.

×
Submit an Answer
2 answers

Hi there,

What is the output of the following command:

df -h

Also I could suggest following the steps from this answer here on how to find the folders that are using the most disk space:

https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error

Let me know how it goes!
Regards.
Bobby

Hello @dipakmahatara

Have you resized the disk after the droplet was upgraded from the control panel?

We strongly recommend taking a snapshot of the Droplet before resizing.

Droplets may change hypervisors during a resize, and any changes to a filesystem can lead to data loss if something goes wrong. We strongly recommend backing up the Droplet’s data before resizing. If you use snapshots, you can delete the snapshot after confirming that the resize was successful.

I will recommend you to double-check our docs on how to resize a droplet.

https://www.digitalocean.com/docs/droplets/how-to/resize/#verifying-disk-resizes

For ext3/4 filesystems, use resize2fs to resize the filesystem.

  • resize2fs /dev/vda1

For XFS, use xfs_growfs to resize the filesystem.

  • xfs_growfs /dev/vda1

Regards,
Alex