Created attachment 445797 [details] sosreport from server Description of problem: When running hdparm against a virtio device the following error is thrown out : # hdparm -t /dev/vda /dev/vda: Timing buffered disk reads: 104 MB in 3.02 seconds = 34.48 MB/sec HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device Version-Release number of selected component (if applicable): kvm-83-105.el5.X86_64 hdparm-6.6-2.X86_64 How reproducible: Always Steps to Reproduce: 1.Run the hdparm -t /dev/vda device 2.Run the hdparm -T /dev/vda device 3. Actual results: Timing buffered disk reads: 104 MB in 3.02 seconds = 34.48 MB/sec HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device Expected results: [root@dhcp-1-24 ~]# hdparm -t /dev/sda1 /dev/sda1: Timing buffered disk reads: 100 MB in 1.20 seconds = 83.54 MB/sec [root@dhcp-1-24 ~]# hdparm -T /dev/sda1 /dev/sda1: Timing cached reads: 13292 MB in 2.00 seconds = 6656.93 MB/sec [root@dhcp-1-24 ~]# Additional info:
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release.
hdparm is for ATA disks. And it also pretty clearly said that it got the correct error back. The only bug is the user running hdparm against devices it doesn't support.