Tutorial[ Seagate Disks ]: Optimize Life Span/Power Managment
#4
(06-13-2019, 04:02 AM)Neo2018 Wrote: Hello tuxd3v, I managed to install OpenSeaChest Utilities!
With USB 3.0 external enclosure 3.5 and Ubuntu.
I hope it works now.

Can you please advise me, which settings are most appropriate for my needs?
I mainly use for multimedia entertainment (stream DLNA, movie, music).
1. I want that the hard drive consumes so little power, because most of the time it will be in standby, and only when streaming needs power.
2. Which Spindown time is appropriate for my needs? (Do I need this?)
3. Which power management makes sense for my needs? (127, 128, 192?)
4. Which settings are important to activate?
Many Thanks!

Hello Neo2018,
Its nice to know that you Succeed, Congratz!  Shy

My point 1)  and the point 2) above( Initial post ), are very crucial.
As they control, powering disk up in standby, and Startup Spinning Current control.

So they will be less aggressive pushing power( you will have less spikes in power needed to operate the disks, also less vibration of the plates.. ).
And off-course, RockPro64 power supply life will be extended..

I will assume, that your device is sdd.
Do that in the same machine, you configured OpenSeachest, and its working..
Code:
./openSeaChest_Configure --device /dev/sdd --puisFeature enable
./openSeaChest_Configure --device /dev/sdd --lowCurrentSpinup enable
reboot
 A reboot because only after a reboot, this options are enabled..

My point 3),
You refer it a mix of your point 2./3.
The APM could be persistent between reboots or set on boot..
I set them on boot time, and do not turn them persistent..no need, because my system has a service for that..

Its difficult to advocate a state without knowing what a user do in reality..
The best way I find is to check your Load/Unload head park Cycles, like described:
Code:
for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done

This values for S.M.A.R.T APM, you can configure also in OMV panel( I think.. )
Or  with a script on bootup as a service for OneShot only( at startup in rockpro64 ):
See the note, bellow, about disk containing the operating system or not..its configured to *not* having the OS on it..
Code:
cat <<EOF > /lib/systemd/system/seagate.service
[Unit]
Description=Seagate - Set APM Level

## IF disk contain Operating System
#After=local-fs.target
#StartLimitIntervalSec=0

[Service]
Type=oneshot
RemainAfterExit=yes
User=root
ExecStart=/root/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_PowerControl --device /dev/sdd --setAPMLevel 127
StandardOutput=journal

[Install]
WantedBy=basic.target
EOF


Then:

Code:
systemctl daemon-reload
systemctl enable seagate.service
reboot


After the reboot, check if service is up:
Code:
systemctl status seagate.service

Query the disk, you configured, to see S.M.A.R.T APM level set in 'seagate.service' above, is with the right value:

Code:
/root/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_PowerControl --showAPMLevel --device /dev/sdd

It should now report APM 127  Shy

Your point 4),
There are indeed several options to tune the disks, like the timers for the disk to enter in Standby, etc..
I start by the default values, and I still use the default timers, because I only use APM 127 and its nice for my workloads..

You can also Look at My Point 4) Above( First post ), to check if your disk support a Power Balanced Mode..

Best Regards,


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
  SkiffOS server with Docker ,NAS, Home assistant, Jellyfin, Snikket XMPP (tutorial) GreyLinux 12 12,437 04-04-2022, 05:26 AM
Last Post: GreyLinux
  SimpNas server with docker - home assistant, radicale , jellyfin & esphome (tutorial) GreyLinux 0 4,886 01-17-2021, 11:33 AM
Last Post: GreyLinux
  Tutorial:How to Configure ATS Fan control tuxd3v 26 58,006 11-06-2020, 08:56 PM
Last Post: g_t_j
  Serial Connection Tutorial: FTDI 232RL hmuller 0 3,759 10-23-2020, 11:56 AM
Last Post: hmuller
Thumbs Up Tutorial[ Seagate Disks ]: Install Seagate OpenSeaChest Utilities tuxd3v 41 84,958 04-08-2019, 10:10 AM
Last Post: Neo2018
  Tutorial[ Multimedia ] : Play DVD movies tuxd3v 0 2,987 02-26-2019, 07:21 PM
Last Post: tuxd3v
  Tutorial[ OpenCL ]: OpenCL 1.2 FULL_PROFILE Working tuxd3v 0 4,249 11-06-2018, 01:03 PM
Last Post: tuxd3v

Forum Jump:


Users browsing this thread: 2 Guest(s)