Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust smartctl command args #74

Merged
merged 1 commit into from
Oct 3, 2022
Merged

Adjust smartctl command args #74

merged 1 commit into from
Oct 3, 2022

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Oct 3, 2022

Update smartctl command arguments to reduce device wakeup from standby/idle.

  • Ignore exit code of 2 for sleeping devices.

Fixes: #61

Signed-off-by: SuperQ superq@gmail.com

Update smartctl command arguments to reduce device wakeup from
standby/idle.
* Ignore exit code of 2 for sleeping devices.

Fixes: #61

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ SuperQ requested a review from Nexucis October 3, 2022 09:39
@SuperQ
Copy link
Contributor Author

SuperQ commented Oct 3, 2022

CC @Daryes

@SuperQ SuperQ merged commit e884420 into master Oct 3, 2022
@SuperQ SuperQ deleted the superq/no_wakeup branch October 3, 2022 12:49
SuperQ added a commit that referenced this pull request Oct 3, 2022
Breaking Changes:
All configuration has been moved from the config file to command line flags.

* [CHANGE] Refactor exporter config #68
* [BUGFIX] Fix smartctl command args to avoid wakeups #74
* [ENHANCEMENT] Add smartmontools to container image #51

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ SuperQ mentioned this pull request Oct 3, 2022
SuperQ added a commit that referenced this pull request Oct 3, 2022
Breaking Changes:
All configuration has been moved from the config file to command line flags.

* [CHANGE] Refactor exporter config #68
* [BUGFIX] Fix smartctl command args to avoid wakeups #74
* [ENHANCEMENT] Add smartmontools to container image #51

Signed-off-by: SuperQ <superq@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should not wakeup hdd from standby/idle (spinned down) to active status
2 participants