After a crash and a reboot I noticed I'm suddenly unable to mount one of my hard drives and got this error message instead
block count 488378134 exceeds size of device (488377869 blocks). I got two hard drives of this model so I compared the sector count of the affected one with the one working normally by running
The one that can't be mounted anymore reads
2000397852160 bytes, 3907027055 sectors while the normal one reads
2000398934016 bytes, 3907029168 sectors. It seems that I lost 2113 sectors. Does this mean these sectors have gone bad? Why weren't they replaced?
What perplexes me is that the affected hard drive only is about a year old, wasn't mounted during the crash and has perfect SMART values (0 Offline_Uncorrectable, 0 Reallocated_Sector_Ct, 0 Current_Pending_Sector, etc).
hdparm -N /dev/sdareport?
max sectors = 3907027055/3907029168, HPA is enabled.
HPA is enabledis the clue. Investigate it. Another question is: why is it enabled?