Re: smartmonitoring tools support for LSI Embedded MegaRAID(SW RAID)

"Sadasivan Shaiju (shshaiju)" <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Please see in line.


Sadasivan Shaiju
TECHNICAL LEADER.ENGINEERING
[email protected]
Phone: +1 408 853 8117
Cisco Systems Limited
3850 Zanker Road
San jose 
CALIFORNIA
95134
US
Cisco.com





Think before you print.
This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html



-----Original Message-----
From: Christian Franke [mailto:[email protected]] 
Sent: Tuesday, September 08, 2015 10:40 PM
To: [email protected]
Cc: Sadasivan Shaiju (shshaiju); [email protected]
Subject: Re: [smartmontools-support] smartmonitoring tools support for LSI Embedded MegaRAID(SW RAID)

robert at spotswood-computer dot net wrote:
> First try "/usr/local/sbin/smartctl --scan" and see what that reports.

Yes, there is --scan (smartd.conf: DEVICESCAN) support in the for LSI MegaRAID controllers.

It should work for this specific RAID if and only if its driver behaves similar to the one for the hardware controllers.


[root@localhost bin]# /usr/sbin/smartd -q onecheck

smartd 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-431.cisco.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

Opened configuration file /etc/smartd.conf
Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
glob(3) found no matches for pattern /dev/hd[a-t]
glob(3) found no matches for pattern /dev/sd[a-c][a-z]
Device: /dev/sde, opened
Device: /dev/sde, [LSI      MegaSR   1.0 ], lu id: 0x6000805e000000000000000000000000, 298 GB
Device: /dev/sde, Bad IEC (SMART) mode page, err=5, skip device
Unable to register SCSI device /dev/sde at line 23 of file /etc/smartd.conf
Device: /dev/sdf, opened
Device: /dev/sdf, [LSI      MegaSR   1.0 ], lu id: 0x6000805e000000000100000000000000, 298 GB
Device: /dev/sdf, Bad IEC (SMART) mode page, err=5, skip device
Unable to register SCSI device /dev/sdf at line 23 of file /etc/smartd.conf
Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...

> If
> that fails, give the report from "smartctl -r ioctl,2 -d csmi --scan"
>
>> ...
>> smartctl 6.4 2015-06-04 r4109 [x86_64-linux-2.6.32-431.cisco.x86_64]
>>

No, '-d csmi' is only implemented in the Windows version of 
smartmontools. The CSMI draft also specified a Linux interface (see 
csmisas.h), but I'm not aware of any Linux driver implementing it.

Regards,
Christian


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.