From couple of days my HDD works slow. So i test my HDD using disk utility. It shows i have 1352 bad blocks.
SMART test says HDD health is good but shows a error "Reallocated Sector Count". So i run #badblocks. But it shows 0 badblocks
sudo badblocks -v /dev/sda 0 badblocks found
Then i run hdparams
sudo hdparm -tT /dev/sda /dev/sda: Timing cached reads: 2 MB in 2.70 seconds = 759.55 kB/sec Timing buffered disk reads: 172 MB in 3.02 seconds = 56.99 MB/sec
Then i run benchmark test using disk utility.
Here it shows read/write speed is 69.6 MB/S but hdparm shows 759.55 KB/sec, SMART says HDD has bad sectors but badblocks say there are no bad sectors. I am so much confused. I had already submit my laptop for HDD change(valid warranty), but they refused to change it and they said there are no bad sectors(They used windows's tools). But HDD performance is poor.
CPU: DualCore E-450 AMD APU RAM: 2GB HDD: Toshiba 320 GB Laptop model: Acer aspire 4250
There should be any way that we can prevent SATA controller to reallocate bad blocks. Then we can find out the bad blocks and mark unused by fsck. After that enable reallocation again. So ubuntu will not call for bad sectors and reallocation will be zero and also it reduce the rate of new bad sectors.