Buffer I/O error during writes to the Direct LUN on a HP 3PAR Storage due to incorrect large max_sectors_kb on virtual machine
Issue
After updating from kernel 3.10.0-327.22.2.el7.x86_64 (RHEL7.2) to 3.10.0-693.11.6.el7.x86_64 (RHEL7.2), database backup fails intermittently, write operation completes but the log file '/var/log/messages' fills with following error repeatedly when write goes to Directly mounted LUN
[ 254.002322] sd 2:0:0:3: [sdc] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 254.002336] sd 2:0:0:3: [sdc] Sense Key : Hardware Error [current]
[ 254.002341] sd 2:0:0:3: [sdc] Add. Sense: Internal target failure
[ 254.002346] sd 2:0:0:3: [sdc] CDB: Write(10) 2a 00 00 68 51 20 00 28 00 00
[ 254.002349] blk_update_request: critical target error, dev sdc, sector 6836512
. . . . .
[ 254.120487] Buffer I/O error on dev dm-1, logical block 939051, lost async page write
[ 254.120510] Buffer I/O error on dev dm-1, logical block 939052, lost async page write
Environment
- Red Hat Enterprise Virtualization
- Red Hat Enterprise Linux 7.4 virtual machine
- Kernel 3.10.0-693.11.6.el7.x86_64
- kernel 3.10.0-514.el7
- kernel-3.10.0-427.el7
- kernel-3.10.0-414.el7
- HPE 3PAR SAN
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.