System Administration
Showing results for 
Search instead for 
Did you mean: 

File systems become RD only.

Go to solution
Honored Contributor

File systems become RD only.

ISCSI/Netapp based Ext3 file system.

We often see that file systems become Read Only mounted after losing connection to the files. Only unmount/mount fixes it.

Is there a way we can avoid unmount/mount to recover the situation? Or this is how it is handled by Linux kernels.?
Michal Kapalka (mikap)
Honored Contributor

Re: File systems become RD only.


did you try the "remount" option on mount command ???

Attempt to remount an already-mounted file system. This is commonly used to change the mount flags for a file system,especially to make a readonly file system write-able. It does not change device or mount point.

Ivan Ferreira
Honored Contributor

Re: File systems become RD only.

>> after losing connection

¿Do you have a real connection problem?

You can use the tune2fs to modify the "error-behaviour" with the -e option. Check the man pages.

Use these values with care.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Trusted Contributor

Re: File systems become RD only.

Even better would be to eliminate the cause of the connection loss. The filesystem should remain intact, since it's journalling, but by default, only metadata is protected. You could possibly end up with file data loss.

You may try as suggested above:
mount -o remount,rw /path/to/mount/point
To see if it re-enables writes.
dirk dierickx
Honored Contributor

Re: File systems become RD only.

the fs gets remounted RO as a safety feature. imagine the havoc you could create when the system is able to continue to write sometimes, but not always, on a disk with errornous connections. the fast lane to data corruption.

like others said, you need to fix this connection loss issue. the data path to your disk is unreliable.