LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-21-2012, 04:54 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 101

Rep: Reputation: 6
Question 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?
 
Old 12-21-2012, 05:06 AM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 286

Rep: Reputation: 70
Depends on the type of hardware. Please could you tell us the name/model of your server and raid controller.
 
Old 12-21-2012, 05:28 AM   #3
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 1,319

Rep: Reputation: 252Reputation: 252Reputation: 252
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.
 
Old 12-23-2012, 11:32 PM   #4
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 101

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by Reuti View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with raid and hard drives. betlor5 Linux - Hardware 3 08-24-2009 03:22 PM
hard drive temperature for non smart drives overpencil Linux - Hardware 5 01-26-2008 06:46 PM
Any utility which can monitor SMART on an external Hard drive ? wearetheborg Linux - Hardware 2 01-01-2007 03:29 PM
RAID, hard drives, etc mrmike Linux - Newbie 0 10-09-2004 04:08 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration