joedotmac Posted June 30, 2017 Share Posted June 30, 2017 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 Quote Link to comment
garycase Posted June 30, 2017 Share Posted June 30, 2017 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/ Quote Link to comment
Squid Posted June 30, 2017 Share Posted June 30, 2017 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) Quote Link to comment
joedotmac Posted June 30, 2017 Author Share Posted June 30, 2017 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. Quote Link to comment
JonathanM Posted June 30, 2017 Share Posted June 30, 2017 You did copy everything off of the drive before you ran the command, right? If not, your best bet at this point would be to set the HPA back exactly the way it was. Removing the HPA probably caused the drive to be unmountable. Quote Link to comment
joedotmac Posted August 9, 2017 Author Share Posted August 9, 2017 (edited) 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 August 9, 2017 by joedotmac Quote Link to comment
Recommended Posts
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.