Why XFS file system fails to mount with error code 30?
Issue
- The filesystem is not getting mounted, and throwing error "recovery required on read-only device"
- Unable to mount xfs filesystem getting the below error in dmesg.
[55929.688085] XFS (dm-7): Mounting V4 Filesystem
[55929.713084] XFS (dm-7): recovery required on read-only device.
[55929.713089] XFS (dm-7): write access unavailable, cannot proceed.
[55929.713092] XFS (dm-7): log mount/recovery failed: error 30
[55929.713240] XFS (dm-7): log mount failed
Environment
- Red Hat Enterprise Linux 7
- xfs
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.