Is HDD Advanced Power Management in SnakeOil OS possible?
#1
Hello! Smile

I'm building a SnakeOil Intel NUC based transport that will feed my DAC.

I want to replace NUC's 2.5" 120GB SSD with a 2TB HDD, in order to accommodate a much larger music library.

Many laptop 2.5" HDD's have this aggressive head auto parking feature, that can shorten drive's life due to excessive load/unload cycles.

On my MacMini I'm dealing with this issue by using HDAPM tool and setting Advanced Power Management level to 0xfe (254).

I see that Linux users use similar tool - HDPARM.

Is there a way to implement this under SnakeOil OS? 

I'm planning to run my new music computer for many hours a day, so disabling unnecessary head parking would prolong the HDD's life.

Thank you for your great work! Smile
Reply

#2
Nice tweak I think (assuming you are using the old spinning disks and not SSDs).

You'll need to SSH into your snakeoil PC.

Run the following:
Code:
apt install idle3-tools

then modify /etc/rc.local file:
Code:
sudo vi /etc/rc.local

and add a line (Replace X with the drive letter)
Code:
idle3ctl -d /dev/sdX

Note that your changes to rc.local may disappear on firmware updates... In the future Snakeoil will allow you run a script on start up/shutdown, but until then, keep this in mind.
Snakeoil Operating System - Music, your way!
Reply

#3
Thanks for a super quick answer!  Smile
Yes, it is about good ole spinning drives.  Smile
I'm not sure if I'm going to by a WD drive, and, if I understood correctly the info on the net, idle3 utility works exclusively on WD.
I'm leaning more to Seagate, due to a very tempting price that I can get locally.
HDPARM should be more universal? More like HDAPM that I'm using on my MacMini with a Hitachi drive.
Can it be used with SnakeOil? What would be the procedure?
Reply

#4
(06-Mar-2020, 07:25 PM)koko6969koki Wrote: Thanks for a super quick answer!  Smile
Yes, it is about good ole spinning drives.  Smile
I'm not sure if I'm going to by a WD drive, and, if I understood correctly the info on the net, idle3 utility works exclusively on WD.
I'm leaning more to Seagate, due to a very tempting price that I can get locally.
HDPARM should be more universal? More like HDAPM that I'm using on my MacMini with a Hitachi drive.
Can it be used with SnakeOil? What would be the procedure?

It's more the firmware on the HDD than Linux software. Seagate will be a good choice, as hdparm specifically says:
 
Code:
       -Z     Disable the automatic power-saving function of certain Seagate drives (ST3xxx models?), to prevent
              them from idling/spinning-down at inconvenient times.

So, try and run this in the SSH session (Replacing X with the correct alphabet:
Code:
sudo hdparm -Z /dev/sdX

If you get no errors, and confirm the HDD is never spun down. You can then add the command in /etc/rc.local
Snakeoil Operating System - Music, your way!
Reply

#5
Thanks a lot!!!  :)
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Snakeoil and DNS davem 0 213 23-May-2024, 08:47 AM
Last Post: davem
  snakeoil always refuse connecting from vnc viewer clark8888 2 769 15-Oct-2023, 10:37 AM
Last Post: clark8888
  Rpi4+AlloDigiOne sig. Snakeoil os installation problem Luke 38 13 3,172 06-Sep-2023, 07:36 AM
Last Post: agent_kith
  [SOLVEDAdapting Snakeoil for general media streaming patricia1066 9 1,738 22-Jul-2023, 07:35 AM
Last Post: agent_kith
  Equalizer for LMS/Snakeoil Tecko 2 980 30-Apr-2023, 10:04 PM
Last Post: Tecko



Users browsing this thread:
3 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5802
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 448
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1680
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 107
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 108
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 338
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 87
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 118
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 220
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 157

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.