Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to know if my disk contains any HPA(Host Protected Area), by issuing the command hdparm -I /dev/sdx, but I am getting error

*/dev/sdx: HDIO_DRIVE_CMD(identify) failed: Invalid exchange*

share|improve this question

migrated from Oct 4 '10 at 3:13

This question came from our site for professional and enthusiast programmers.

Are you sure the drive is named /dev/sdx ? Drives usually start with /dev/sda and go up from there, so you'd need to have over 20 drives attached to the system to get up to /dev/sdx

Double check that the drive is the one you're meaning to query (hint: Try ls -l /dev/disk/by-id/ to get a list of your drives with more descriptive names and to which drives the names correspond), and check that your other drives respond to the query.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.