Bug 467222
| Summary: | smartd-conf should set "-n standby" option by default | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kieran Clancy <clancy.kieran+redhat> |
| Component: | smartmontools | Assignee: | Michal Hlavinka <mhlavink> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | mhlavink |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-11-19 11:22:54 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
Kieran Clancy
2008-10-16 13:35:28 UTC
Yes, it's the default option that can make your disk live longer, but I'm not sure if it's a good default option globally... There are possibilities a disk misses all tests for long time, an example: backup server, back up job runs every day in 3:00 am for 10 minutes. After next 10 minutes disk goes into standby. If smartd checks this disk at 2:57 and then periodically every 30 minutes, disk will be always in standby mode. It's not bad only for backup server. It can be just one disk in your computer used for backups or other purposes. Resolution: It's "wontfix" for me just now, but I can see a good aspect in this, so I've sent an email to upstream for new feature - new option for "-n" parameter. Something like "-n standby,10" (skip at most 10 tests). That's a good point. Is there any chance that the kernel could be asked when the last time the disk woke up from standby? If the disk hasn't been active since last time it checked, then smartd could happily continue to skip that disk. If a kernel didn't support being asked about the last wakeup time, smartd could just fall back on a "skip at most X tests" behaviour. I've created patch for this. It was accepted by upstream and pushed into the cvs 2008-11-04, so it'll probably occurs in new release (5.39). This message is a reminder that Fedora 9 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 9. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '9'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 9's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 9 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I'm moving this to rawhide as feature. Patch is already in upstream cvs, we're waiting only for new upstream release. Keeping this bug as tracker for this. I believe new smartmontools version is going to be released in time for Fedora 13, so I've updated smartmontools to svn snapshot for testing in rawhide. This brings (finally) this feature. Once new smartmontools are officially released, I'll update also older Fedora releases. |