nextcloud / nextcloud/nextcloudpi
HDD Spindown Control
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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