nextcloud / nextcloud/nextcloudpi

HDD Spindown Control

Open
#1,161 10 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

( sorry it is my first created ticket be lenient i am open for constructive criticism )

Can you add the possibility to configure a scheduled HDD Spindown
The Benefits:

-reduce noise
-reduce energy consumption
-increases disk life time

Example
one Tool is hdparm ( there are 2 other programs known to me that can do this hd-idle and sdparm )

edit the configuration file to make hdparm configuration permanent

sudo nano /etc/hdparm.conf

The spindown_time value is multiplied by 5 and you have the total time in seconds. So a value of 120 yields 10 minutes (120*5=600).

sample Entry:

/dev/sda {
write_cache = on
spindown_time = 120
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue points to /etc/hdparm.conf and the hdparm configuration format; start by tracing how NextcloudPi applies persistent operating-system configuration. Determine where a user-facing spindown setting would belong and verify the resulting hdparm behavior on supported hardware. Done means the setting can be configured persistently without manual edits to /etc/hdparm.conf.

Written by the indexing model from the issue text.

Assessment

Tech stack
raspberry-pi, shell
Domain
embedded-iot, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.