Block storage is read-only

June 8, 2019 359 views
DigitalOcean Block Storage CentOS

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?

1 Answer


You can run a filesystem check and also check your fstab - /etc/fstab and make sure that /mnt/volumefra101 is mounted properly.


Have another answer? Share your knowledge.