Date: Tue, 20 May 2014 21:49:54 +0100 From: "Steven Hartland" <killing@multiplay.co.uk> To: "Ronald F. Guilmette" <rfg@tristatelogic.com>, <freebsd-geom@freebsd.org> Subject: Re: GEOM_PART: Integrity check failed (ada2, MBR) Message-ID: <E355AB90829446F48F802A500CFF639E@multiplay.co.uk> References: <38408.1400617200@server1.tristatelogic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
To: "Steven Hartland" <killing@multiplay.co.uk>; <freebsd-geom@freebsd.org>
Sent: Tuesday, May 20, 2014 9:20 PM
Subject: Re: GEOM_PART: Integrity check failed (ada2, MBR)
>
> In message <90779722305645B99AA673EDA11C349F@multiplay.co.uk>,
> "Steven Hartland" <killing@multiplay.co.uk> wrote:
>
>>----- Original Message -----
>>From: "Ronald F. Guilmette" <rfg@tristatelogic.com>
>>
>>> I already have sought, and have already been provided with the steps
>>> that I need to undertake in order to "repair" the apparent capacity of
>>> the drive in question, and I am already making plans to replace my
>>> *&^%$#@ Gigabyte motherboard with something different with all due
>>> haste.
>>
>>Just in case you or others are unaware later versions of camcontrol have
>>the ability to see and edit / remove HPA.
>
> I, for one, was most certainly *not* aware of that.
>
> Could I ask you to please elaborate? How would this be done... using
> camcontrol?
>
>From memory, as its been a while since I wrote it, first use identify to
see the details:
camcontrol identify ata0
You'll see the details of HPA at the bottom e.g.
Host Protected Area (HPA) yes yes 33554432/250069680
HPA - Security no
If you're disk has HPA enabled you can remove it by configuring the
max sectors to the full disk size (the number on the right)
If the drive doesn't have security (a password set) as above:
camcontrol hpa ada0 -s 250069680 -P
If it is locked you need to specify the password to unlock it.
camcontrol hpa ada0 -s 250069680 -P -U <pwd>
For more details see man camcontrol.
Hope this helps.
Regards
Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E355AB90829446F48F802A500CFF639E>
