Removing HPA from drive


Adrian

Recommended Posts

Like the warning from FCP says, if its not on your parity disk, then don't worry about it as we're talking about a few meg of lost space.

 

The values you're looking for will be given via something like

root@Server_B:hdparm -N /dev/sdf

 

/dev/sdf:
 max sectors   = 156299375/156301488, HPA is enabled

 

First # is the number of sectors the partition is currently set to, second is the maximum # of sectors (the example shows just over 1 Meg of lost space)

Problem with HPA is that if your motherboard in use put it on there, then its going to tend to come back under certain circumstances - hence the why bother with it).  It only matters if the drive in question is your parity drive in which case it will wind up having LESS capacity than your data drives which will impact your ability to rebuild a drive if / when the need arises

 


Edit:  The lines in the syslog you're looking for is rather early when its enumerating the drives, and will look like this:

Nov 5 21:35:54 Server_B kernel: ata5.00: HPA detected: current 156299375, native 156301488

Edited by Squid
  • Like 1
Link to comment

So I ran hdparm -N /dev/sda and got the following:

 

/dev/sda:
 max sectors   = 3907027055/3907029168, HPA is enabled


root@MEDIASERVER:~# hdparm -N -p3907029168 /dev/sda

/dev/sda:
 attempting to set PIO mode to -387938128
 HDIO_SET_PIO_MODE failed: Invalid argument
 max sectors   = 3907027055/3907029168, HPA is enabled


 

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.