Attempt to access beyond end of device and vx_dataioerr data write error.

book

Article ID: 100074558

calendar_today

Updated On:

Description

Error Message

System logs or dmesg output may show messages like:

Jun 25 14:34:50 arctokIA-vm24 kernel: attempt to access beyond end of device
Jun 25 14:34:50 arctokIA-vm24 kernel: VxVM22002: rw=1, want=36028797016252418, limit=209639424
Jun 25 14:34:50 arctokIA-vm24 kernel: vxfs: msgcnt 4 mesg 038: V-2-38: vx_dataioerr - /dev/vx/dsk/vgd_share/sw_lv file system file data write error in dev/block 0/36028797016252416
 

Cause

An internal alignment issue causes the system to calculate an invalid block location during direct I/O. This leads to an I/O request beyond the actual size of the device.

Resolution

The issue is resolved by ensuring that internal offset alignment uses the correct data size. This prevents incorrect block calculations and avoids I/O errors during direct file access operations.
 
Impacted Versions:
VRTSvxfs -8.0.0.3600
VRTSvxfs -9.0.0.0000
VRTSvxfs-8.0.0.3501
VRTSvxfs-8.0.2.2601
VRTSvxfs-8.0.0.3601
 
Note: The problem fails the IO to the file system with the mentioned errors. File systems are safe and won't be corrupted due to these errors. 
 

 

Issue/Introduction

Direct I/O operations on VxFS files may fail with I/O errors due to incorrect internal offset alignment logic during extent clearing.

Error Message

System logs or dmesg output may show messages like: Jun 25 14:34:50 arctokIA-vm24 kernel: attempt to access beyond end of device
Jun 25 14:34:50 arctokIA-vm24 kernel: VxVM22002: rw=1, want=36028797016252418, limit=209639424
Jun 25 14:34:50 arctokIA-vm24 kernel: vxfs: msgcnt 4 mesg 038: V-2-38: vx_dataioerr - /dev/vx/dsk/vgd_share/sw_lv file system file data write error in dev/block 0/36028797016252416