Question

error message Failed to write file to disk.

i increased my storage and still have error Failed to write file to disk.


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.

You may need to expand your disks. Please refer to this article here, https://docs.digitalocean.com/products/droplets/how-to/resize/#verifying-disk-resizes

The last section titled “## Verifying Disk Resizes” has instructions you can follow to extend your disk after increasing the storage.

If you don’t have technical skills to preform this task, you can use this Fiverr gig, https://vpsfix.us/fiverr/server-help

Good luck!

alexdo
Site Moderator
Site Moderator badge
March 7, 2023

Hello @miraaxolotl

As mentioned you can verify that the disk was extended using the df tool. In certain cases, a disk resize fails to resize the Droplet’s partition or filesystem. If you rerun df -h after a disk resize and the output is unchanged, this usually indicates a problem.

You can find more information here:

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

Regards

KFSys
Site Moderator
Site Moderator badge
March 6, 2023

Hey @miraaxolotl,

The message is associated with a full disk. Can you enter your Droplet/SSH to it and type in df -h what do you see? Is your disk still full?

Additionally, it’s possible to remove uneeded files from your system without the worry of breaking anything. It’s possible your app has created a lot of log files which have taken up your space.

Apart from what has been said already, you can check https://docs.digitalocean.com/support/how-do-i-fix-disk-space-issues-on-my-droplet/ as well.

Try DigitalOcean for free

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

Sign up