I've a failed drive reported in my RAID5 running on a Dell R710 using RHEL5 with a DELL PERC controller. Is there a method to determine which drive it is? Can I do this at the command line?
4 Answers
I know this isn't the quickest solution, but I'd recommend downloading the OMSA management utilities to the system and using the status page I mentioned earlier at http://server.ip:1311
or using the omreport
command line utility to obtain the RAID array's status.
This is assuming that you don't have any physical access to the system. If you do, there should be an amber light illuminated on the failed drive.
-
omreport storage controller
to get a list of controllers, thenomreport storage pdisk controller=0
, or a more appropriate controller number. YMMV as this was done on a PE2950. Due to the system age, I used OMSA_5.4.1 instead of the latest OMSA_7.1 so some differences in commands could exist. Installing applicable packages from srvadmin-* folders beneath the most compatible OS subfolder of linux.dell.com/repo/hardware/2012_Q2/platform_independent and starting the dataeng service should get one going. Packages installed fine for me on an operating system not listed as supported. Commented Oct 19, 2012 at 17:32
The orange light on the caddy should be illuminated on the bad drive. If you don't have management agents installed, this is the best way. Good old visual inspection.
If nothing else, you can try looking for a serial number:
smartctl -a /dev/sdX
where /dev/sdX is a failed device. You'll see a device serial number (near the top). The serial number should also be written on the sticker on the drive itself.
ps: you might need to install "smartmontools" to get "smartctl"
-
-
# smartctl -a /dev/sda smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is smartmontools.sourceforge.net Device: DELL PERC H700 Version: 2.10 DELL PERC controllers are not supported.– dacracotCommented Jun 7, 2012 at 22:28
-
@dacracot yeah, if you're using Dell PERC (or pretty much any hardware raid card) the
sdX
devices are going to be virtual drives and not the actual spinning disks. Some drivers can allow access to the spinning disks viasg#
devices, but I don't think the H700 supports it.– DerfKCommented Jun 8, 2012 at 3:02
You can run the omreport from the command line to find failed disk on Dell servers. For example to display all physical disks on controller 1, run:
omreport storage pdisk controller=1
References: http://stuff.mit.edu/afs/athena/dept/cron/documentation/dell-server-admin/en/Dosa/CLI/report.htm#wp1068065 http://linux.dell.com/wiki/index.php/OpenManage_command_line_interface
https://server.ip:1311
, But that depends on the Dell agents being installed. Do you have the management agents installed?