Fix Input/Output Error During Read on /dev/sda in CentOS Installation

centoshard drivehp-proliantredhat

I'm trying to install CentOS 5.7 on an HP Proliant DL380 G5 (with an HP P400 Smart Array RAID controller) and am getting the following error during the text mode installer:

ERROR: pdc: reading /dev/sda[Input/output error]

Input/output error during read on /dev/sda

To me, this sounds like either a faulty drive or unsupported hardware. That being said, the server appears to be fine (I'm in the process of running diagnostics) and I see it listed on the RedHat HCL: https://hardware.redhat.com/show.cgi?id=228312

Is there anything else I can be checking?

Best Answer

The HP ProLiant DL380 G5 should have an internal Smart Array P400 RAID controller. That controller uses the CCISS block driver under Red Hat/CentOS 5.x. This would present your logical devices to the OS as /dev/cciss/c0dXpY, where X is the controller number and Y is the partition number. For most systems, look for /dev/cciss/c0d0.

You may be selecting the wrong device to install to. Is there a USB device plugged into the server? There aren't any other devices in a standard DL380 G5 that would register as SCSI. The CD drive in that system would be /dev/hda.

Watch the BIOS messages as you boot the system, though. There is an option to enter the ORCA BIOS configuration utility for the P400 controller. Press F8. There needs to be at least one logical drive available for you to install to.

In the CentOS installation screen, it should show you the type of device you're installing to. Where in the process does this error surface?

Note: newer HP controllers, such as the Smart Array P410, use the new HPSA driver on current operating systems. They would show up using the /dev/sdX scheme, e.g /dev/sda1.