This bash script should be helpful to you if your partitions go to read-only mode frequently. This script will check if any of your partition is in read-only mode. If yes, it will remount into read-write mode. You will be alerted via email if the remount fails.
You can download the script from here.