hdparm: HDIO_DRIVE_CMD(identify) Failed: Inappropriate Ioctl For Device

Posted on in Categories , , , , , , last updated August 23, 2009

When I run hdparm -tT /dev/sda command under CentOS / RHEL I get the following error on screen:

/dev/sda:
Timing buffered disk reads: 908 MB in 3.00 seconds = 302.39 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device

How do I fix this problem?

CentOS / RHEL Configure Yum Automatic Update Retrieval and Installation

Posted on in Categories , , , , , , last updated May 18, 2009

The yum command line tool is used to install and update software packages under RHEL / CentOS Linux server. I know how to apply updates using yum update command line, but I’d like to use cron to manually update packages where appropriate. How do I configure yum to install software patches / updates automatically with cron?