-
Notifications
You must be signed in to change notification settings - Fork 3
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
Configure USB drive to spin down automatically #2
Comments
I've added a new |
To set spin-down on the fly:
You can check the status of the drive using:
(Outputs something like |
Looks like this works nicely with the following in
|
Mostly for power consumption, but basically—make this a configurable option (e.g. either enable it or disable it via a bool), and also allow configuration of the time before the drive spins down after inactivity.
Some people might use an SSD here, but most people would likely toss an old spinning rust drive at the Pi for backups (since it's expendable... and since the Pi's USB 2.0 bust can't sustain super fast transfer, at least not in the current generation). So it's nice to conserve energy. Just don't use too quick a frequency for the default spindown as frequent toggles can cause the drive to wear faster.
For some references:
The text was updated successfully, but these errors were encountered: