linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Smartmontools on software RAID
@ 2012-11-18 22:15 Anuj Goel
  2012-11-18 22:20 ` Miles Fidelman
  2012-11-18 22:25 ` Johannes Truschnigg
  0 siblings, 2 replies; 3+ messages in thread
From: Anuj Goel @ 2012-11-18 22:15 UTC (permalink / raw)
  To: Linux RAID

Hi,

Can smartmontools be used with software RAID ?
I see that it has support for RAID, but that is based on the Hardware
controller.

-Anuj

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Smartmontools on software RAID
  2012-11-18 22:15 Smartmontools on software RAID Anuj Goel
@ 2012-11-18 22:20 ` Miles Fidelman
  2012-11-18 22:25 ` Johannes Truschnigg
  1 sibling, 0 replies; 3+ messages in thread
From: Miles Fidelman @ 2012-11-18 22:20 UTC (permalink / raw)
  Cc: Linux RAID

Anuj Goel wrote:
> Hi,
>
> Can smartmontools be used with software RAID ?
> I see that it has support for RAID, but that is based on the Hardware
> controller.
>
>
Well... I use it every day to monitor the disks under my RAID arrays.  
All you have to do is point it at the hardware device (e.g., /dev/hda), 
not the raid device.

The RAID arrays I monitor with mdadm.

Miles Fidelman

-- 
In theory, there is no difference between theory and practice.
In practice, there is.   .... Yogi Berra


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Smartmontools on software RAID
  2012-11-18 22:15 Smartmontools on software RAID Anuj Goel
  2012-11-18 22:20 ` Miles Fidelman
@ 2012-11-18 22:25 ` Johannes Truschnigg
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Truschnigg @ 2012-11-18 22:25 UTC (permalink / raw)
  To: Anuj Goel; +Cc: Linux RAID

[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]

On Sun, Nov 18, 2012 at 05:15:47PM -0500, Anuj Goel wrote:
> Hi,
> 
> Can smartmontools be used with software RAID ?

Yes of course, as long as the member-devices/disks that your md-RAID array
consists of support SMART themselves. The resulting block device(s) that
implement RAID on top of these devices don't report any SMART
attributes/values, however.

> I see that it has support for RAID, but that is based on the Hardware
> controller.

That kind of support in smartmontools for a given controller model and/or
controller driver is only relevant if the "hardware"-RAID controller abstracts
away the physical disks (by providing the arrays its user or administrator
defined - in the controller BIOS or a special setup utility - as ordinary
Linux block devices), and does not export these individual drives as standard
ATA or SCSI devices (which can support SMART) to the kernel. I've also seen
controllers with drivers that do both - you get your array(s) as defined in
the controllers setup tool, and also a set of SCSI generic devices (/dev/sg*)
that you can use to run smartctl against.

-- 
with best regards:
- Johannes Truschnigg ( johannes@truschnigg.info )

www:   http://johannes.truschnigg.info/
phone: +43 650 2 133337
xmpp:  johannes@truschnigg.info

Please do not bother me with HTML-email or attachments. Thank you.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-18 22:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-18 22:15 Smartmontools on software RAID Anuj Goel
2012-11-18 22:20 ` Miles Fidelman
2012-11-18 22:25 ` Johannes Truschnigg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).