Report this

What is the reason for this report?

Weird Issue with DigitalOcean Volume Automointing on previous folder Despite modified fstab

Posted on May 19, 2025

Hi,

When I purchased a volume it was mounted on /mnt/volume_uploads (that was after few setup questions).

After sometime, I decided to mount that volume to different folder. So, I unmounted the /mnt/volume_uploads and removed the folder. Also, mounted the volume on a different folder plus replaced the /mnt/volumes_uploads with another folder in fstab.

However, when I reboot the system, I am seeing this /mnt/volume_uploads being auto-created and mounted o this folder. My newly mounted folder is also working fine.

When I use $ df -h

It shows, that the volume is mounted to /mnt/volume_uploads folder.

When I manually unmount that volume mount point and run diskfree command,it shows my newly mounted folder.

Its confusing

Question: How to remove the /mnt/volume_uploads permanently (that was mounted during initial volume setup)?

Seems like something is running behind the scene.

Thanks!



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!

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.
0

Hey!

I think that this sounds like it’s related to how DigitalOcean automatically mounts volumes using cloud-init when the Droplet is first created. Even if you update fstab, the system might still apply the original mount via a systemd unit or leftover cloud-init config.

You can check if there’s a systemd mount unit like mnt-volume_uploads.mount with:

systemctl list-units --type=mount | grep volume_uploads

If you’re sure it’s safe to do so, you could try disabling it with:

sudo systemctl disable --now mnt-volume_uploads.mount

If this is not the case, it’s a good idea to reach out to DigitalOcean support.

You can also refer to the official docs here: https://docs.digitalocean.com/products/volumes/how-to/mount/

- Bobby

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.