LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   How to monitor SMART of RAID hard drives? (http://www.linuxquestions.org/questions/showthread.php?t=4175442419)

sluge 12-21-2012 04:54 AM

How to monitor SMART of RAID hard drives?
 
Hello!
I have HP server and I created logical volumes over RAID controlle's hard drive.
But it's impossible to get smart status of hard drives:
Code:

# smartctl -a /dev/sda
smartctl 5.42 2011-10-20 r3458 [x86_64-linux-2.6.32-279.el6.x86_64] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Vendor:              HP
Product:              LOGICAL VOLUME
Revision:            3.00
User Capacity:        299,966,445,568 bytes [299 GB]
Logical block size:  512 bytes
Logical Unit id:      0x600508b1001030393635463837304f02
Serial number:        500143800965F870
Device type:          disk
Local Time is:        Fri Nov 23 14:18:54 2012 MET
Device does not support SMART

Error Counter logging not supported
Device does not support Self Test logging

Is any way to detect smart status of hard drives in this case?

gdejonge 12-21-2012 05:06 AM

Depends on the type of hardware. Please could you tell us the name/model of your server and raid controller.

Reuti 12-21-2012 05:28 AM

Often generic devices are created too. Something like this might work:
Code:

# smartctl -d sat --all /dev/sg3
The numbers to use depend on the hardware.

sluge 12-23-2012 11:32 PM

Quote:

Originally Posted by Reuti (Post 4854262)
Often generic devices are created too. Something like this might work:
Code:

# smartctl -d sat --all /dev/sg3
The numbers to use depend on the hardware.

Unfortunately this command failed:

PHP Code:

# smartctl -d sat --all /dev/sg0
smartctl 5.42 2011-10-20 r3458 [x86_64-linux-2.6.32-279.el6.x86_64] (local build)
Copyright (C2002-11 by Bruce Allenhttp://smartmontools.sourceforge.net

SmartctlDevice Read Identity Failedscsi error unsupported scsi opcode

A mandatory SMART command failed
exitingTo continue, add one or more '-T permissive' options



All times are GMT -5. The time now is 05:07 AM.