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, 7, 8, 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content