pwrite failed: Input/output error on XFS filesystem
Issue
- Getting below messages while running xfs_repair:
# xfs_repair <filesystem-name>
xfs_repair: pwrite failed: Input/output error
releasing dirty buffer (bulk) to free list!
- In /var/log/messages we could see below errors:
lvm[1446]: WARNING: Thin pool vg00-tpool0-tpool metadata is now 95.08% full.
kernel: device-mapper: thin: 253:2: reached low water mark for metadata device: sending event.
...
kernel: device-mapper: thin: No free metadata blocks
kernel: device-mapper: thin: 253:2: switching pool to read-only mode
Environment
- Red Hat Enterprise Linux
- XFS filesystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.