Explanation:
Other day I was attempting to enable quota on one of my vms and I observed the quotacheck
failed with above error.
This error most likely means that quotacheck
was unable to perform read write operation on the disk where the provided partition was mounted.
Below errors are expected as seen for my case inside /var/log/messages
Apr 21 15:18:49 deep-test kernel: [179264.576665] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Apr 21 15:18:49 deep-test kernel: [179264.576671] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] Apr 21 15:18:49 deep-test kernel: [179264.576674] Info fld=0x70148b Apr 21 15:18:49 deep-test kernel: [179264.576676] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error Apr 21 15:18:49 deep-test kernel: [179264.576679] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 09 fd 31 d0 00 02 00 00 Apr 21 15:18:49 deep-test kernel: [179264.576691] end_request: critical target error, dev sda, sector 167588304 Apr 21 15:18:49 deep-test kernel: [179264.576699] Buffer I/O error on device dm-4, logical block 18087994 Apr 21 15:18:49 deep-test kernel: [179264.576705] Buffer I/O error on device dm-4, logical block 18087995 Apr 21 15:18:49 deep-test kernel: [179264.576707] Buffer I/O error on device dm-4, logical block 18087996 Apr 21 15:18:49 deep-test kernel: [179264.576710] Buffer I/O error on device dm-4, logical block 18087997 Apr 21 15:18:49 deep-test kernel: [179264.576713] Buffer I/O error on device dm-4, logical block 18087998 Apr 21 15:18:49 deep-test kernel: [179264.576715] Buffer I/O error on device dm-4, logical block 18087999 Apr 21 15:18:49 deep-test kernel: [179264.576717] Buffer I/O error on device dm-4, logical block 18088000 Apr 21 15:18:49 deep-test kernel: [179264.576720] Buffer I/O error on device dm-4, logical block 18088001 Apr 21 15:18:49 deep-test kernel: [179264.576722] Buffer I/O error on device dm-4, logical block 18088002 Apr 21 15:18:49 deep-test kernel: [179264.576725] Buffer I/O error on device dm-4, logical block 18088003 Apr 21 15:18:57 deep-test kernel: [179272.674406] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Apr 21 15:18:57 deep-test kernel: [179272.674414] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] Apr 21 15:18:57 deep-test kernel: [179272.674418] Info fld=0x70148b Apr 21 15:18:57 deep-test kernel: [179272.674421] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error Apr 21 15:18:57 deep-test kernel: [179272.674425] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 09 fd 32 88 00 00 08 00 Apr 21 15:18:57 deep-test kernel: [179272.674434] end_request: critical target error, dev sda, sector 167588488 Apr 21 15:18:57 deep-test kernel: [179272.674443] quiet_error: 54 callbacks suppressed Apr 21 15:18:57 deep-test kernel: [179272.674446] Buffer I/O error on device dm-4, logical block 18088017
Solution
Perform a HDD check using fsck or get the disk replaced with a healthy one then the issue should be fixed