Bug 111666
Summary: | smartd refuses to run | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ted Kaczmarek <tedkaz> |
Component: | kernel-utils | Assignee: | Arjan van de Ven <arjanv> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | CC: | ballen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-12-09 11:13:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ted Kaczmarek
2003-12-08 13:13:55 UTC
Could you please post the output of: /usr/sbin/smartd -d [root@tarkus root]# smartd -d smartd version 5.21 Copyright (C) 2002-3 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Opened configuration file /etc/smartd.conf Configuration file /etc/smartd.conf parsed. Device: /dev/sda, opened Device: /dev/sda, IE (SMART) not enabled, skip device Unable to register SCSI device /dev/sda at line 34 of file /etc/smartd.conf Unable to register device /dev/sda (no Directive -d removable). Exiting. It doesn't like any entries on this machine. I tried /dev/sda /dev/sda -d scsi Filesystem 1K-blocks Used Available Use% Mounted on /dev/md0 16634932 7846800 7943120 50% / /dev/sda1 147764 8653 131482 7% /boot none 386592 0 386592 0% /dev/shm Works like a charm on another box I have that has 2 scsi and 2 ide drives, but no raid on that box. This message: Device: /dev/sda, IE (SMART) not enabled, skip device means that you need to enable smart on the drive. Use: smartctl -s on /dev/sda to do that. you the man :-) Wish their was a comment in the config file for that. The man page makes it appear as if smartd itself will do that when starting. I guess what threw me is my other scsi box I did not need to do that command. The man page says: smartd will attempt to enable SMART monitoring on ATA devices (equivalent to smartctl -s on) and polls these and SCSI devices every 30 minutes (configurable), logging SMART errors and changes of SMART Attributes via the SYS- LOG interface. It may be possible to automatically enable SMART for SCSI devices as well, or alternatively to improve the warning message so that it says to use 'smartctl -s on' to enable SMART. But at the earliest this will be in the 5.27 release. |