Hi guys,
When I reboot the server block storage becomes read-only. I followed the setup instructions when I was creating the block storage:
$ echo '/dev/disk/by-id/scsi-0DO_Volume_volume-fra1-01 /mnt/volume_fra1_01 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
When I try to write it it shows this message:
[root@DB volume_fra1_01]# touch test
touch: cannot touch `test': Read-only file system
If I run this command
[root@DB volume_fra1_01]# mount -o remount,rw /mnt/volume_fra1_01/
it becomes writable but if I reboot the system it becomes read-only again.
What may be the problem?
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!
Hello,
You can run a filesystem check and also check your fstab - /etc/fstab and make sure that /mnt/volume_fra1_01 is mounted properly.
Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.