Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Oct 4 '10 at 3:13

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

add comment

1 Answer

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
add comment

Your Answer

 
discard

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.