XFS filesystem creation fails on ib_srp LUNs

Solution Verified - Updated -

Issue

  • XFS filesystem creation fails on ib_srp LUNs

  • Kernel log buffer

[   49.815473] scsi host7: ib_srp: Failed to map data (-12)
[   49.821528] scsi host7: ib_srp: Failed to map data (-12)
[   49.827582] scsi host7: ib_srp: Failed to map data (-12)
[   49.833634] scsi host7: ib_srp: Failed to map data (-12)
  • Syslog
Jan 31 11:57:35 host kernel: sd 22:0:0:0: timing out command, waited 180s
Jan 31 11:57:35 host kernel: sd 22:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
Jan 31 11:57:35 host kernel: sd 22:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 00 00 00 00 00 01 00 00
Jan 31 11:57:35 host kernel: blk_update_request: I/O error, dev sda, sector 0
Jan 31 11:57:35 host kernel: device-mapper: multipath: Failing path 8:0.
Jan 31 11:57:35 host kernel: blk_update_request: I/O error, dev dm-0, sector 0
Jan 31 11:57:35 host kernel: blk_update_request: I/O error, dev dm-0, sector 1787502464
Jan 31 11:57:35 host kernel: blk_update_request: I/O error, dev dm-0, sector 1787502464
Jan 31 11:57:35 host kernel: Buffer I/O error on dev dm-0, logical block 223437808, async page read
  • CLI
[root@host]# mkfs.xfs -f /dev/mapper/mpatha
mkfs.xfs: pwrite64 failed: Input/output error

Environment

  • Red Hat Enterprise Linux 7.3
  • ib_qib and ib_srp driver

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