Is "pediags" useless for PE840's storage?

Patrick_Fischer at Dell.com Patrick_Fischer at Dell.com
Wed Apr 15 04:19:22 CDT 2009


> Am I right that pediags cannot do any test on the PE840 RAID
controller/hard
> disks?

PEDIAGS is working properly and well on PE840 / 860 with SAS 5/6.

I will try to give a short explanation. For this I used OMSA 5.5 Live CD
on a
PE2900 I with PERC5i but the behaviour is similar on SAS 5/6 (yes, I
have
tested this). There is only one harddisk in SLOT 7 configured as RAID0 /
VD0.


[root at anubis bin]# pwd
/opt/dell/onlinediags/oldiags/bin
[root at anubis bin]# ./pediags sasdevdiag --show


This command will give you a table like


Device Index        : 1
Device Name         : Dell PERC 5/i Integrated RAID Controller 1
Description         : Dell PERC 5/i Integrated RAID Controller 1, Serial
Number: <snip>
Device Class        : RAID Controller
Device Status       : Device is working properly.
Device Location     : PCI Bus 2, Device 14, Function 0
Additional H/W Info : Firmware: 5.2.2-0072, Driver Version: 00.00.03.21,
Cluster inactive

Test Index          : 1
Test Name           : SAS Controller Log Test
Description         : Gets the Controller Events Log.
Test Alert          : <snip>

Test Index          : 2
Test Name           : Controller Self Test
Description         : Runs Self Diagnostics on the controller.
Test Alert          : <snip>

Test Index          : 3
Test Name           : Controller TTY Log Test
Description         : Gets the Controller TTY Log.
Test Alert          : <snip>

<snip>

Device Index        : 6
Device Name         : Array Disk 1:0:7
Description         : SAS FUJITSU MAX3147RC
Device Class        : RAID Array Disk
Device Status       : Device is working properly.
Device Location     : Slot 7
Additional H/W Info : 139392 MB, Firmware: D207, Serial Number: <snip>

Test Index          : 1
Test Name           : Disk Self Test
Description         : Tests the hard drive.
Test Alert          : <snip>

Test Index          : 2
Test Name           : Disk Blink Test
Description         : Blinks the hard drive.


In this table you can see the device which you could test and which kind
of test is available.


[root at anubis bin]# ./pediags sasdevdiag --run test-index=all
quicktest=true
>> /root/Desktop/results.txt


This would perform all tests but this is mostly not necessary. If you
want to test one
of your harddisks pick the correct device number from list and perform
only disk self
test.


[root at anubis bin]# ./pediags sasdevdiag --run device-index=6
test-index=1 quicktest=true
................

Device Name     : Array Disk 1:0:7
Description     : SAS FUJITSU MAX3147RC
Device Location : Slot 7
Test Name       : Disk Self Test
Description     : Tests the hard drive.
Passes          : 1
Result          : passed
Start Time      : Wed Apr 15 02:30:46 2009
Completion Time : Wed Apr 15 02:31:27 2009
Result Event    : The test operation completed successfully. No errors
found.


To extract the controller log from PERC5i you run


[root at anubis bin]# ./pediags sasdevdiag --run device-index=1
test-index=3
...

Device Name     : Dell PERC 5/i Integrated RAID Controller 1
Description     : Dell PERC 5/i Integrated RAID Controller 1, Serial
Number: 12345
Device Location : PCI Bus 2, Device 14, Function 0
Test Name       : Controller TTY Log Test
Description     : Gets the Controller TTY Log.
Passes          : 1
Result          : passed
Start Time      : Wed Apr 15 02:34:19 2009
Completion Time : Wed Apr 15 02:34:19 2009
Result Event    : The test operation completed successfully. No errors
found.

[root at anubis bin]# cat /var/log/TTY_00000000.log

PERC 5/i Integrated 0:

T0: LSI Logic MegaRAID firmware loaded
T0: Firmware version 1.03.50-0461 built ...
<snip>


Please take note that you cannot perform this on a SAS HBA as there is
no
controller log.

Other steps will work on SAS HBA. Back to your question.

> Device Name	: SAS/SATA backplane 1:0
> Description	: SAS/SATA backplane 1:0
> Device Location : Enclosure 1:0
> Test Name	: SAS Phy Integrity Test
> Description	: Gets Enclosure and HDD Phy Error Log Information.
> Passes	: 1
> Result	: warning
> <snip>
> Result Event	: The Test is not supported on this configuration.
> Run the test on a backplane with an expander or a backplane with SAS
disks.


The result is onlya warning (informational) that he couldnt get infos
from this
device in your configuration. This means not that all tests failed.
Please try with your harddisks only (where X is the disk device number
from table).


[root at anubis bin]# ./pediags sasdevdiag --run device-index=<X>
test-index=1 quicktest=true


Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20090415/0884af85/attachment-0001.htm 


More information about the Linux-PowerEdge mailing list