chkdsk is a Windows program, but the original poster wrote her is using Linux.
So, badblocks could be the appropriate program.
Am 22. September 2023 18:55:14 MESZ schrieb Dan Smith <j.daniel.smith1@gmail.com>:
Hi,
In one of the our production database when we are trying to fetch the records from one of the table, we are getting below error.
Compressed data is corrupted
Os - linux
Postgresql version - 9.5
We have restored data somehow using secondary node but still please let me know how we can find out the root cause and avoid such scenarios in future.
Regards,
Nikhil
Recommend running chkdsk and upgrade the cluster (9.5 is EOL).
Best regards,
Dan Smith