Formatting a filesystem failed with error " Read-only file system while setting up superblock"

Solution Verified - Updated -

Issue

  • Cannot format filesystem getting below eror.
# mkfs.ext4 /dev/sdb1
mke2fs 1.41.12 (17-May-2010)
/dev/sdb1: Read-only file system while setting up superblock

Environment

  • Red Hat Enterprise Linux (All)

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.