Mailinglist Archive: opensuse (4294 mails)

< Previous Next >
[opensuse] Re: test for hdd
  • From: Joachim Schrod <jschrod@xxxxxxx>
  • Date: Wed, 13 Dec 2006 15:03:55 +0100
  • Message-id: <elp18c$oh$1@xxxxxxxxxxxxx>
Joe Morris (NTM) wrote:
Joachim Schrod wrote:
On a related note, for other readers: In 10.0, smartmontools don't
work with SATA disks. Anybody knows if this has changed in 10.1 or
10.2, with a more recent kernel?

It must, it works on 9.3. There was an option in the config file for
SATA drives in 9.3.

Hmm, doesn't work here.

I assume that you mean smartd.conf with the config file. There is a comment that one should use -d ata for SATA disks. Well:

puma:/etc # smartctl -d ata -i /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

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

If I use the default for /dev/sda, or make them explicitly SCSI devices:

puma:/etc # smartctl -d scsi -i /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: ATA ST3200822AS Version: 3.01

SATA disks accessed via libata are not currently supported by
smartmontools. When libata is given an ATA pass-thru ioctl() then an
additional '-d libata' device type will be added to smartmontools.

Well, the promised device type libata doesn't exist yet:

puma:/etc # smartctl -d libata -i /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=======> INVALID ARGUMENT TO -d: libata
=======> VALID ARGUMENTS ARE: ata, scsi, 3ware,N <=======

Use smartctl -h to get a usage summary

Thus, I don't see how I can make it work with smartmontools from the distribution.

Am I doing something wrong here?

Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups