LUN sector count mismatch between OS and NetApp using Ansible
Applies to
- ONTAP 9.7 and below
- 16TB LUN (17592186044416 bytes)
- Ansible ontap_lun module
Issue
When 16TB LUNs are created via Ansible it causes Illegal Request / Logical block address out of range errors on the host:
Jul 1 08:33:12 rhel1 kernel: sd 6:0:0:2: [sdg] FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
Jul 1 08:33:12 rhel1 kernel: sd 6:0:0:2: [sdg] Sense Key : Illegal Request
[current]
Jul 1 08:33:12 rhel1 kernel: sd 6:0:0:2: [sdg] Add. Sense: Logical block
address out of range
Jul 1 08:33:12 rhel1 kernel: sd 6:0:0:2: [sdg] CDB: Write(16) 8a 00 00 00 00 07
ff ff ff e8 00 00 00 18 00 00
Jul 1 08:33:12 rhel1 kernel: blk_update_request: critical target error, dev
sdg, sector 34359738344