Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Removing HPA from drive

Featured Replies

I'm trying to remove the HPA partition, but I can't figure out what value to use with hdparm. All the posts refer to looking in the syslogs, but my syslogs don't show anything regarding HPA. Too bad Fix Common Problems can't just show the value.

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

  • Author

Going to try again.

 

Edited by Adrian

  • Author
21 hours ago, Squid said:

root@Server_B:hdparm -N /dev/sdf

 

ok that did it! It seems all the posts I kept finding kept referring to seeing it in the logs, but my logs don't show any messages about HPA being detected.

  • Author

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


 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.