I added Volumes Block Storage , I cant figure out how to move/access my uploads onto it for Woocommerce/WordPress

Im running out of Disk Space and trying to clean up old picture files. Id like to use the additional storage and move all of my upload files to it, to access my product/website images from that Storage rather than my main droplet I have 25-35gb of photo files in my /wp-content/uploads that would alleviate the majority of my disk space currently

I tried to follow tutorial previously and was unable to successfully so I deleted volume storage block I had added. When I tried I thought that I could just attach the volume to my droplet and it would auto access the storage capacity in addition to my droplets (whoops)

Filesystem      Size  Used Avail Use% Mounted on
tmpfs           794M  1.1M  793M   1% /run
/dev/vda1        49G   39G   11G  79% /
tmpfs           3.9G  640K  3.9G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/vda15      105M  6.1M   99M   6% /boot/efi
/dev/sda         50G  390M   50G   1% /mnt/volume_sfo2_01
tmpfs           794M  4.0K  794M   1% /run/user/0

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.

Bobby Iliev
Site Moderator
Site Moderator badge
June 5, 2024


Just updating this question here in case that anyone comes across it in the future, as we discussed here, your fstab was correct, but when you add a volume systemd creates an auto mount file for the original mount point.

So to fix this, you had to delete that file, and your fstab/mount point worked as intended.

- Bobby

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
DigitalOcean Cloud Control Panel