Bug 271741
Summary: | smartd-conf.py should allow customization of parameters | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Mastracci <matthew> |
Component: | smartmontools | Assignee: | Tomas Smetana <tsmetana> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 5.37-3.2.fc7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-09-25 08:28:27 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
Matthew Mastracci
2007-08-31 15:13:58 UTC
It can be done quite easily but do you really think it's useful? What's easier on editing /etc/sysconfig/smartmontools than /etc/smartd.conf? The script is intended for inexperienced users to create a basic configuration for them. If you're able to configure smartd yourself, why do you need to have the config file autogenerated? I agree that it doesn't take an overwhelming amount of work to modify the smartd.conf file, but it ends up being a bit tedious on machines with more than 5 hard drives. It also makes it easier and less error-prone when installing new drives or modifying global configuration parameters. It also makes it easier to modify the smartd templates on more than one machine. Currently, rolling out a change to run automatic tests on HDDs across 10 machines requires editing 10 files x # of hard drives. With the change, it would require 10 scp calls to write a new, identical config file. I don't currently see a need for more granular option configuration - this would be for configuring global defaults only. If someone requires per-hard-drive configuration, it would be just as easy to modify smartd.conf. You should be able to add the parameters into /etc/sysconfig/smartmontools -- optional variable smartd_conf_opts. The change will be present in the next update. smartmontools-5.37-3.2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. Tested, works as expected with and without the following option in /etc/sysconfig/smartmontools: smartd_conf_opts="-H -m root -t -l error -l selftest -s (O/../.././(00|06|12|18)|S/../.././01|L/../../6/03)" smartmontools-5.37-3.2.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |