I am using Ubuntu 14.10. Sometimes my file-system goes into read-only file system. At that time if I restart, it asks for some options:F - for fix  - if I press it, it says creating /tmp directory once process completes, then problem solved.S - for skipM - manual recovery.Even pressing fix, after some time it goes again into read only file system.Again if I restart and press F, it is fine for some time.What can I do, to fix it permanently?Here, I attached the result of smartctl /dev/sda5 -a
Sometimes filesystem goes to 'Read-only file system'
linux;debian;boot;reboot;readonly