Test done on disks behind a HBA.

alessandro macuz <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <CAFrGbuUMAt1AEK22sp631f77cWdcS2kdYoAha1uKJAAma-QUnQ@mail.gmail.com>
Hi all,

I have disks directly connected to the motherboard and in an enclosure.

I have plenty of disks but SDA is representative for those attached
directly and SDJ is representative for those behind the LSI HBA 9205, in
the encliosure.

I want to monitor the status of the hard disks and I wonder if for the
disks like sdj the returned status OK has the same meaning of PASSED.

root@server:/tmp/tmp# smartctl -H /dev/sdj
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

SMART Health Status: OK
root@server:/tmp/tmp# smartctl -H /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED


What is the difference in the test run, if any, on the two disks?

I need to write a script that checks the disk every 4 hours for a NAS and I
must know if the disks like sdj are correctly monitored. I tried to use the
switch -d sat on it but I get the following error

root@server:/tmp/tmp# smartctl -d sat -H /dev/sdj
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-53-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed: scsi error unsupported scsi opcode

A mandatory SMART command failed: exiting. To continue, add one or more '-T
permissive' options.

Adding "-T permissive" doesn't help much.

Thanks,

Alex

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
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.