Storage doesnt load to mount point on reboot


I bought some block storage for my server and went through the process of unmounting it, setting its new mount point “/home/x/x/x/wp-content/uploads”, and adding the entry in my /etc/fstab to mount in the correct location at reboot.

Unfortunately after a reboot, it defaults back to the default mountpoint /mnt/volume_sfo2_01.

How do I get my block storage to mount to the correct location persistently?

I sent a ticket but maybe I can get help from the community prior to a response. Appreciate any advice

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.

Site Moderator
Site Moderator badge
May 31, 2024

Heya, @e0c0d8bcdf92414eb019e9ce24fdff

You can examine your fstab file for any typos or misconfiguration that may cause the issue here.

Ultimately, the line you add to /etc/fstab should look like this, with your volume’s identifier and mount point:

/dev/disk/by-id/scsi-example /mnt/example-mount-point ext4 defaults,nofail,discard,noatime 0 2


Bobby Iliev
Site Moderator
Site Moderator badge
May 29, 2024

Hi there,

Indeed, adding the entry to the fstab file is the way to go. As the block storage is still getting mounted but on the wrong directory, it sounds like that there might be a typo in the fstab file.

Would you mind sharing your fstab file here so I could take a quick look and advise you further?

- 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