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?

Linux Disable / Remove All NFS Services

Posted on in Categories , , , , , , last updated May 3, 2017

NFS was not designed with security in mind, and has a number of weaknesses, both in terms of the protocol itself and because any NFS installation must expose several daemons, running on both servers and clients, to network attack. I use my CentOS based server only to server web pages and nothing else. How do I disable NFS services under RHEL / CentOS / Fedora Linux?