Buffer I/O error on device - CentOS
Posted: 2021/11/22 13:27:33
Hi,
We have an mail server configured on a virtual server (VM) running the Linux CentOS 5.9 system.
We identified that for about three weeks now a failure is occurring that is changing the access of the sdb1 partition to read-only.
We identified that the failure is happening during the virtual machine backup time, it may be related to the backup tool, but until last month this failure did not happen and we did not have any changes or updates in the linux server or backup server.
When the sdb1 partition fails as read-only, the solution so far is to restart the server to return to normal.
We can see in the log the information of "Buffer I/O error" in some random blocks of disk sdb1.
What is the recommendation in this case?
Run a disk check via fsck command?
Is there any other procedure?
Server name: vPadova
CentOS Version - 5.9
Accessing the log /var/log/messages:
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: scsi: Device offlined - not ready after error recovery
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: scsi: Device offlined - not ready after error recovery
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: Unhandled error code
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: SCSI error: return code = 0x07000000
Nov 21 14:41:37 vPADOVA kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_HARD,SUGGEST_OK
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:37 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 112173824
Nov 21 14:41:37 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:37 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 65012164
Nov 21 14:41:37 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:37 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 65020100
Nov 21 14:41:54 vPADOVA postfix/smtpd[23851]: auxpropfunc error invalid parameter supplied
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 65020101
Nov 21 14:41:54 vPADOVA postfix/smtpd[23851]: sql_select option missing
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA postfix/smtpd[23851]: auxpropfunc error no mechanism available
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 82313228
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 121634829
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 128450564
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 152043549
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 65011754
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 152044577
Nov 21 14:41:55 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:55 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:55 vPADOVA last message repeated 43 times
Nov 21 14:41:55 vPADOVA kernel: EXT4-fs error (device sdb1): ext4_find_entry: reading directory #38912001 offset 0
Nov 21 14:41:55 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:55 vPADOVA last message repeated 14 times
I appreciate if you can help me.
Thanks.
Lincon Ruam
We have an mail server configured on a virtual server (VM) running the Linux CentOS 5.9 system.
We identified that for about three weeks now a failure is occurring that is changing the access of the sdb1 partition to read-only.
We identified that the failure is happening during the virtual machine backup time, it may be related to the backup tool, but until last month this failure did not happen and we did not have any changes or updates in the linux server or backup server.
When the sdb1 partition fails as read-only, the solution so far is to restart the server to return to normal.
We can see in the log the information of "Buffer I/O error" in some random blocks of disk sdb1.
What is the recommendation in this case?
Run a disk check via fsck command?
Is there any other procedure?
Server name: vPadova
CentOS Version - 5.9
Accessing the log /var/log/messages:
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: scsi: Device offlined - not ready after error recovery
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: scsi: Device offlined - not ready after error recovery
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: Unhandled error code
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: SCSI error: return code = 0x07000000
Nov 21 14:41:37 vPADOVA kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_HARD,SUGGEST_OK
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:37 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 112173824
Nov 21 14:41:37 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:37 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 65012164
Nov 21 14:41:37 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:37 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:37 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 65020100
Nov 21 14:41:54 vPADOVA postfix/smtpd[23851]: auxpropfunc error invalid parameter supplied
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 65020101
Nov 21 14:41:54 vPADOVA postfix/smtpd[23851]: sql_select option missing
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA postfix/smtpd[23851]: auxpropfunc error no mechanism available
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 82313228
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 121634829
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 128450564
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 152043549
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 65011754
Nov 21 14:41:54 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:54 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:54 vPADOVA kernel: Buffer I/O error on device sdb1, logical block 152044577
Nov 21 14:41:55 vPADOVA kernel: lost page write due to I/O error on sdb1
Nov 21 14:41:55 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:55 vPADOVA last message repeated 43 times
Nov 21 14:41:55 vPADOVA kernel: EXT4-fs error (device sdb1): ext4_find_entry: reading directory #38912001 offset 0
Nov 21 14:41:55 vPADOVA kernel: sd 1:0:0:0: rejecting I/O to offline device
Nov 21 14:41:55 vPADOVA last message repeated 14 times
I appreciate if you can help me.
Thanks.
Lincon Ruam