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
Answer a question...

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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.