I've a testing server which is operating on a HDD drive which has bad sectors,
It's was running 2.6.32-11-pve kernel and I could always see the number of bad sectors in /var/log/syslog and easily reallocate them with dd,
But now after updating it to 2.6.32-14-pve there are errors in /var/log/syslog which does not contain the position of bad sectors, like what you can see below:
Is it something with new kernel? I really need that numbers to be easily found in syslog, any one has any suggestion on how to ask kernel to report them in syslog?
It's was running 2.6.32-11-pve kernel and I could always see the number of bad sectors in /var/log/syslog and easily reallocate them with dd,
But now after updating it to 2.6.32-14-pve there are errors in /var/log/syslog which does not contain the position of bad sectors, like what you can see below:
Code:
res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failedres 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failedres 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }res 41/40:08:a0:11:76/00:00:53:00:00/00 Emask 0x409 (media error) <F> ata1.00: error: { UNC }sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed