Block storage is read-only
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?
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.×