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