November 24, 20178 yr 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.
November 24, 20178 yr 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 November 24, 20178 yr by Squid
November 25, 20178 yr 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.
November 25, 20178 yr 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
November 25, 20178 yr No idea. You can research hdparm via google or here's an alternative you can try this https://forums.lime-technology.com/topic/15765-how-to-remove-hpa-with-hdat2-from-usb-flash-drive/. The one and only time I ever removed an HPA years ago I did via hdparm
November 25, 20178 yr Author 2 hours ago, Squid said: No idea. You can research hdparm via google or here's an alternative you can try this https://forums.lime-technology.com/topic/15765-how-to-remove-hpa-with-hdat2-from-usb-flash-drive/. The one and only time I ever removed an HPA years ago I did via hdparm oops, I put a - in front of p
Archived
This topic is now archived and is closed to further replies.