[Bug 1585668] Re: Random file corruption when writing large files to hba mounted volume

2016-05-25 Thread Rainier Ramos
The issue seems to be that the current default for max_sectors_kb is too high for our setup: $ cat /sys/block/sde/queue/max_sectors_kb 32767 Cutting this in half resolved our issue: $ sudo sh -c 'echo 16384 > /sys/block/sde/queue/max_sectors_kb' We made this permanent by adding a udev rule: $

[Bug 1585668] [NEW] Random file corruption when writing large files to hba mounted volume

2016-05-25 Thread Rainier Ramos
Public bug reported: We have an Ubuntu 16.04 LTS server with a 3Par volume via QLogic HBA. When mounted, writing large files to it repeatedly produces the following errors: [435753.554230] sd 5:0:0:1: [sde] tag#10 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [435753.554232] sd 5:0:0:1: