How can I mount a read-only filesystem as read-write?

Solution Verified - Updated -

Issue

  • One of my partition has been mounted as read-only. How can I make it read-write without rebooting?
  • How can I remount the root filesystem as read-write after it goes read-only?
  • My filesystem went read-only, can I remount without rebooting? / filesystem suddenly became read only, unable to write to files.

    # touch file
    touch: cannot touch `file': Read-only file system
    
    # cat /proc/mounts
    rootfs / rootfs rw 0 0
    /dev/root / ext3 ro,data=ordered 0 0
    

Environment

  • Red Hat Enterprise Linux (RHEL) 4, 5, 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In