On Tue, 2012-01-24 at 09:57 -0600, Eric Sandeen wrote:
> On 1/24/12 9:52 AM, Christian Kildau wrote:
> > On Jan 24, 2012, at 4:50 PM, Eric Sandeen wrote:
> >> Can you run the hdparm command Roger suggested on your original hard
> >> drive, please?
> > Sure, here it is:
> > /dev/sde:
> > max sectors = 2930275055/2930277168, HPA is enabled
> ding ding ding, we have a winner.
> 2930277168-2930275055 = 2113 which is about how much xfs tried to read past
> the end.
> Something about the ubuntu upgrade messed with your disk.
> I'd press them very hard to investigate & resolve that. You can probably use
> to remove the HPA and get your space back but this is beyond my expertise &
> familiarity. It'd be interesting to know what is _in_ the HPA area first.
Kernel commit d8d9129ea28e2177749627c82962feb26e8d11e9 added code to
notice if a disk partition extends into the hidden area and 'unlocks'
the hidden area (uses the full disk capacity) if necessary.
But if there's no partition table (the entire disk is formatted as a
single filesystem) the heuristic can't work.
http://www.spinics.net/lists/linux-ide/msg40244.html suggests that
Ubuntu no longer always unlocks, but uses the heuristic above. In the
same message Alan Cox says Ubuntu 'made a bad mistake on that one.'
Roger Willcocks <roger@xxxxxxxxxxxxxxxx>