On Thu, 27 Apr 2006 17:32:44 +0200
Guido Guenther <[EMAIL PROTECTED]> wrote:

> You have -d sata in smartctl.conf? Could you attach it to the bugreport?

I don't have a smartctl.conf anywhere. The smartctl man page doesn't
mention one, either. Is this a new feature?

Enabling SMART was no problem before this upgrade. If smartctl requires a
configuration file now, it's quite likely the problems are caused by the
SATA device.

I do have a smartd.conf file though, and it has a '-d sata' for the SATA
device. I configured and tested it just a few months ago, so that should
still be working.

--8<-- /etc/smartd.conf --8<--
/dev/hda        -a -m [EMAIL PROTECTED] -n standby
/dev/hdb        -a -m [EMAIL PROTECTED] -n standby
/dev/hde        -a -m [EMAIL PROTECTED]
/dev/sda -d ata -a -m [EMAIL PROTECTED] -C 0 -U 0
--8<--


> Could you please check if smartctl -a works for the other configured
> disks as expected?

/dev/hda
--> works

/dev/hdb (very old 6.4 Quantum IDE drive):
--> "SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't
show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or
more '-T permissive' options."
--> works with '-T permissive'

/dev/hde:
--> works

/dev/sda:
--> "In Linux, SATA disks accessed via libata are only supported by
smartmontools for kernel versions 2.6.15 and above. Try an additional '-d
ata' argument."
--> works with '-d sata'

The problem is /dev/sda (the sata one), since it's the only one that
(since this update!) gives back an error when enabling smart:


[senta:~] smartctl --smart=on /dev/hdb
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

[senta:~] smartctl --smart=on /dev/sda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
[senta:~] smartctl --smart=on -d ata /dev/sda
smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

[senta:~] _

I can temporary disable smart for the SATA device while upgrading,
ofcourse. Could you send me a reference to documentation mentioning
smartctl.conf?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to