HPA Enabled


Recommended Posts

I have a single cache drive in Unraid.  HPA is enabled.  I would like to disable the HPA.

 

What would be the recommended method.

 

I tried:  hdparm -N /dev/sdi

 

Command line comes back and tells me HPA is enabled.  Any ideas?  Could I simply remove it from being selected as cache drive, preclear the drive, and re-select it as the cache drive?

 

Thanks

Link to comment

The most convenient method is to simply use the SetMax feature of HDAT2

 

https://www.hdat2.com/

 

HDAT2 is mentioned in the link above that outlines the issue, but it says you need a CD drive to use it -- that is no longer the case.   Just download an ISO from the HDAT2 site;  then download Rufus, and you can create a bootable flash drive that will let you easily run HDAT2.

https://rufus.akeo.ie/

Link to comment

Leave the HPA partition on the drive.  It barely drops the capacity of the drive, and more importantly anecdotal evidence shows that if your server's BIOS put an HPA partitition onto the drive, then it will NOT put it onto any other drive.  HPA is only an issue if it winds up on the parity drive(s)

Link to comment

Too late  :)

 

Remove it. 

 

Looked in syslog found the current and native sizes.

Jun 30 12:23:37 unraid kernel: ata8.00: HPA detected: current 468860015, native 468862128

 

Then used hdparm to remove the HPA.
hdparm -N p468862128 /dev/sdi
hdparm -N /dev/sdi

 

Removed the HPA.

 

Though I munged something else as the GUI shows no dockers, and my VM's listed in the GUI appear to be a set I was running a year ago.  Going to search the forum to see about finding a similar symptom.

Link to comment
  • 1 month later...

Wasn't sure how to properly migration.  Was under the assumption that a cache drive was truly a cache like one would find on a CPU or similar as buffer with high speed flash or the like. That assumption was wrong.

 

The result by removing in the method I did, was a server config with hostnames and the like of over a year old.

 

Was able to recover by removing the docker, VM, configurations, adding "new" VM definitions in the GUI using the *,img disks and re-applying dockers as new.

Edited by joedotmac
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.