02-22-2019, 11:08 AM
(This post was last modified: 06-17-2019, 11:52 AM by tuxd3v.)
Hello all,
Following the OpenSeaChest Utilities install here.
Documentation for Configuration: here
There are some nice tuning features,
That can increase disks Life Span, Consume Less current, and Increase Life Span of the power provider Source, etc..
1). Power Up In Standby Mode.
When System goes up and Power is provided to all components, Power Consumption spikes,
from processor to disks, and all peripheral components..
So in this fase,
Disks also consumes more power, because they need to start the Controller Board,
and Also start spinning plates , and moving heads..
Some Seagate Disks, have this option,
So to configure Power Up in StandBy( Its a Persistent Feature, so only apply one time, no reboot required ), disk( sdX ):
Code: openSeaChest_Configure --device /dev/sdX --puisFeature enable
In this Way,
When system goes Up, disks will push a lot less current,
because only Disks internal controller is up( StandBy Mode, also known as APM mode 1 ).
Only when you require access( Read Write, the disk will Start spinning and heads will move, and working with the APM configuration they already had..
So this feature is only working for, starting system up/powering the disks,
after that, this feature does nothing( disks are already Up ).
2). Low Current SpinUP
After System Up,
Each time they go StandBy, it stop spinning the plates, and park its heads..
But the problem is,
Each time you request access, they will need to start spinning the plates, and moving heads to read/write..
This start process, is painful, for power Consumption, and creates more vibration( it pushs several Amps in spikes for that.. )..
So to minimise it,
Seagate Disks have a Feature, to start spinning in a progressive way, instead of abrupt way.
To activate this Feature( Its a Persistent Feature, so only apply one time, a reboot is required ), disk( sdX ):
Code: openSeaChest_Configure --device /dev/sdX --lowCurrentSpinup enable
After steps 1). / 2). ,
Shutdown the system, if needed take disks out for a bit, insert them again,
Boot up and check if features are already enabled..
3). Control Park, and Unpark Mode:
When disks are spinning, after operations, and they are not been used,
They will go to a less aggressive power State.
Usually Power Mode 127, permits, that they enter in Standby, which means stop spinning and park Heads..
In this situation, you should monitor Park/Unpark Head, if the Number grows very fast or Not..
Command Bellow will measure Power Cycles and park/Unpark Count:
Code: apt-get install -y smartmontools && for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done
If this values for example in 10-15 minutes grows significantly, the disk life will be Reduced..
Some Known Characteristics:
Seagate IronWolf/ IronWolf PRO - '600000' Park/Unpark cycles
Seagate IronWolf - ~1,000,000 Hours MTBF( Mean Time Between Failures )
Seagate IronWolf PRO - ~1,200,000 Hours MTBF( Mean Time Between Failures )
3.1). If this value are already too big, or if increasing too fast( measure, for example, at beginning, and at the end of 1 week, .. for example.. ),
maybe consider, modes >=128
3.2). If this values don't grow too much, of if your disks have low values,
Then mode 127 seems the best,
Since you have a lower number of load/unload heads, disks "are like new" on that regard, and so, you can go standby more often..
4). Check if your disk( sdX ) Support Power Balanced Mode:
You can also configure a power Balanced mode, if your disk supports it..
Check if supported, disk ( sdX ):
Code: openSeaChest_PowerControl --device /dev/sdX --powerBalanceFeature info
5). To Check information on Features and so on, about the disks Capabilities,or Enabled ones,
You can type each time:
Code: openSeaChest_Basics --deviceInfo --device /dev/sdX
In this way you can check points 1)., 2)., 3)., 4). ...
This article could be improved in the Feature,
For now, here are the first Basic rules.
Hope you Enjoy,
Best Regards
NOTE:
1). The first 4 Points above, forms the base of Seagate Disks Configurations...
They prolong Disks Life Span,
They prolong Power Supply Life Span( in this, case power Supply of Rockpro64 )
They prolong Computer( in this case RockPro64 ) Life Span
They consume less energy.
2). Each Time you run a Command, if disk is in StandBy( sleeping ),
It could wake up the disk,if so, the number of Load/Unload Cycles will decrease by 1
**Use the tools**, to configure and check if your disks are well configured **only when needed**..
(02-28-2019, 02:27 PM)Neo2018 Wrote: Tutorial[ Seagate Disks ]: Install Seagate OpenSeaChest Utilities my problems with the installation Post #4, please help! Thank you!
Hello Neo2018,
Sorry I didn't saw your request before ..
I replied to your thread about the Install process..
Best Regards,
Hello tuxd3v, I managed to install OpenSeaChest Utilities!
With USB 3.0 external enclosure 3.5 and Ubuntu.
I hope it works now.
Code: root@ubuntu:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdd 8:48 0 7.3T 0 disk
└─sdd1 8:49 0 7.3T 0 part /media/ubuntu/Daten3
sdb 8:16 0 465.8G 0 disk
├─sdb4 8:20 0 254.2G 0 part /media/ubuntu/9852F7D552F7B65A
├─sdb2 8:18 0 100M 0 part
├─sdb5 8:21 0 211G 0 part /media/ubuntu/Daten
├─sdb3 8:19 0 16M 0 part
└─sdb1 8:17 0 499M 0 part
sr0 11:0 1 1024M 0 rom
loop0 7:0 0 1.4G 1 loop /rofs
sdc 8:32 1 28.7G 0 disk
└─sdc4 8:36 1 28.7G 0 part /cdrom
sda 8:0 0 489.1G 0 disk
└─sda1 8:1 0 489G 0 part /media/ubuntu/Datenspeicher
Code: root@ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_Basics --deviceInfo --device /dev/sdd1
==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Thu Jun 13 09:02:29 2019
==========================================================================================
/dev/sg4 - 3.0 - BCDEF - ATA
Vendor ID: USB
Model Number: 3.0
Serial Number: 0123456789ABCDEF
Firmware Revision: 0508
World Wide Name: 5000C500B4ADB587
Drive Capacity (TB/TiB): 8.00/7.28
Temperature Data:
Current Temperature (C): 32
Highest Temperature (C): 50
Lowest Temperature (C): 23
Power On Time: 2 hours
Power On Hours: 2.00
MaxLBA: 15628053167
Native MaxLBA: Not Reported
Logical Sector Size (B): 512
Physical Sector Size (B): 4096
Sector Alignment: 0
Rotation Rate (RPM): 7200
Form Factor (inch): 3.5
Last DST information:
DST has never been run
Long Drive Self Test Time: 13 hours 24 minutes
Interface speed:
Max Speed (Gb/s): 6.0
Negotiated Speed (Gb/s): 6.0
Annualized Workload Rate (TB/yr): 283.06
Total Bytes Read (MB): 593.95
Total Bytes Written (GB): 64.03
Encryption Support: Not Supported
Cache Size (MiB): 256.00
Read Look-Ahead: Enabled
Write Cache: Enabled
Low Current Spinup: Disabled
SMART Status: Unknown or Not Supported
ATA Security Information: Supported
Firmware Download Support: Full, Segmented, Deferred
Specifications Supported:
ACS-3
ACS-2
ATA8-ACS
ATA/ATAPI-7
ATA/ATAPI-6
ATA/ATAPI-5
ATA/ATAPI-4
SATA 3.1
SATA 3.0
SATA 2.6
SATA 2.5
SATA II: Extensions
SATA 1.0a
ATA8-AST
SPC-4
UAS
SPC-4
SBC-3
Features Supported:
Sanitize
SATA NCQ
SATA Rebuild Assist
SATA Software Settings Preservation [Enabled]
SATA Device Initiated Power Management
Power Management
Security
SMART [Enabled]
48bit Address
PUIS
GPL
Streaming
SMART Self-Test
SMART Error Logging
Write-Read-Verify
AMAC
EPC [Enabled]
Sense Data Reporting
SCT Write Same
SCT Error Recovery Control
SCT Feature Control
SCT Data Tables
Host Logging
Seagate In Drive Diagnostics (IDD)
Seagate Remanufacture
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!
06-13-2019, 12:10 PM
(This post was last modified: 06-13-2019, 12:17 PM by tuxd3v.)
(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!
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
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,
(06-13-2019, 12:10 PM)tuxd3v Wrote: Its nice to know that you Succeed, Congratz!
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. Thanks, unfortunately I have more problems.
Point 1. Works great----> PUIS [Enabled] ---->
Code: 1). Power Up In Standby Mode.
root@ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_Configure --device /dev/sdd1 --puisFeature enable
==========================================================================================
openSeaChest_Configure - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Configure Version: 1.13.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Thu Jun 13 10:13:02 2019
==========================================================================================
/dev/sg4 - 3.0 - BCDEF - ATA
PUIS feature successfully enabled!
Point 2. Does not work----> Low Current Spinup: Disabled ----->
Code: 2). LOW C Current S PinUP
root@ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_Configure --device /dev/sdd1 --lowCurrentSpinup enable
==========================================================================================
openSeaChest_Configure - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Configure Version: 1.13.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Thu Jun 13 10:26:24 2019
==========================================================================================
/dev/sg4 - 3.0 - BCDEF - ATA
Set Low Current Spinup
Successfully Enabled Low Current Spinup!
A power cycle is required to complete this change.
but after the reboot is again ----> Low Current Spinup: Disabled ----->
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_Basics --deviceInfo --device /dev/sda1
==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Thu Jun 13 22:00:39 2019
==========================================================================================
/dev/sg0 - 3.0 - BCDEF - ATA
Vendor ID: USB
Model Number: 3.0
Serial Number: 0123456789ABCDEF
Firmware Revision: 0508
World Wide Name: 5000C500B4ADB587
Drive Capacity (TB/TiB): 8.00/7.28
Temperature Data:
Current Temperature (C): 46
Highest Temperature (C): 50
Lowest Temperature (C): 23
Power On Time: 9 hours
Power On Hours: 9.00
MaxLBA: 15628053167
Native MaxLBA: Not Reported
Logical Sector Size (B): 512
Physical Sector Size (B): 4096
Sector Alignment: 0
Rotation Rate (RPM): 7200
Form Factor (inch): 3.5
Last DST information:
DST has never been run
Long Drive Self Test Time: 13 hours 24 minutes
Interface speed:
Max Speed (Gb/s): 6.0
Negotiated Speed (Gb/s): 6.0
Annualized Workload Rate (TB/yr): 63.05
Total Bytes Read (MB): 743.75
Total Bytes Written (GB): 64.03
Encryption Support: Not Supported
Cache Size (MiB): 256.00
Read Look-Ahead: Enabled
Write Cache: Enabled
--------------------------> Low Current Spinup: Disabled <---------------------------
SMART Status: Unknown or Not Supported
ATA Security Information: Supported
Firmware Download Support: Full, Segmented, Deferred
Specifications Supported:
Point 3.
output from -----> for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done --------->
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done
(The command 'smartctl' was not found, but can be installed with:)
Der Befehl 'smartctl' wurde nicht gefunden, kann aber installiert werden mit:
apt install smartmontools
probably because this is my notebook.
(06-13-2019, 12:10 PM)tuxd3v Wrote: 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..
That did not work in the OMV S.M.A.R.T.
I would like to set the hard drive with these values ------> 127 and a spindown time of 1 hour.
Can I set these values here? How do I do that?
Point 4.
(06-13-2019, 12:10 PM)tuxd3v Wrote: 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.. output ------------>
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_PowerControl --device /dev/sda --powerBalanceFeature info
==========================================================================================
openSeaChest_PowerControl - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_PowerControl Version: 1.10.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Thu Jun 13 22:00:03 2019
==========================================================================================
/dev/sg0 - 3.0 - BCDEF - ATA
Seagate Power Balance: Enabled
Hello Neo2018,
For What I see,
You need to configure the steps, for each Seagate Disk..
Your disks are named sda and sdd.
You need to do all steps for each of the Seagate disks you have..
You cannot configure one thing in one disk, and then expect it to be configured in the other disk..
The Configuration is Disk dependent( stays written inside each disk.. )
For a step, you need a package installed ' smartmontools'
Code: apt-get install -y smartmontools
I will update above..
Regards,
06-14-2019, 05:08 AM
(This post was last modified: 06-14-2019, 05:37 AM by Neo2018.)
(06-13-2019, 06:00 PM)tuxd3v Wrote: You need to configure the steps, for each Seagate Disk..
Your disks are named sda and sdd.
You need to do all steps for each of the Seagate disks you have..
my hard drive ----> is sda1 (new one: Seagate IronWolf 8TB)
Code: p@p-ubuntu:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 34,6M 1 loop /snap/gtk-common-themes/818
loop1 7:1 0 2,3M 1 loop /snap/gnome-calculator/260
loop2 7:2 0 13M 1 loop /snap/gnome-characters/139
loop3 7:3 0 140,7M 1 loop /snap/gnome-3-26-1604/74
loop4 7:4 0 14,5M 1 loop /snap/gnome-logs/45
loop5 7:5 0 3,7M 1 loop /snap/gnome-system-monitor/57
loop6 7:6 0 91M 1 loop /snap/core/6350
sda 8:0 0 7,3T 0 disk
└─sda1 8:1 0 7,3T 0 part /media/p/Daten3
sdb 8:16 0 489,1G 0 disk
└─sdb1 8:17 0 489G 0 part
sdc 8:32 0 465,8G 0 disk
├─sdc1 8:33 0 499M 0 part
├─sdc2 8:34 0 100M 0 part /boot/efi
├─sdc3 8:35 0 16M 0 part
├─sdc4 8:36 0 254,2G 0 part
├─sdc5 8:37 0 173,6G 0 part
└─sdc6 8:38 0 37,3G 0 part /
sr0 11:0 1 1024M 0 rom
next step i want ---> 2). Set Low Current SpinUP --- with this command ----> ./openSeaChest_Configure --device /dev/sda1 --lowCurrentSpinup enable ----> output ---->
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_Configure --device /dev/sda1 --lowCurrentSpinup enable
==========================================================================================
openSeaChest_Configure - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Configure Version: 1.13.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Fri Jun 14 12:31:56 2019
==========================================================================================
/dev/sg0 - 3.0 - BCDEF - ATA
Set Low Current Spinup
Successfully Enabled Low Current Spinup!
A power cycle is required to complete this change.
OK.
Now I will reboot. after rebooting, control Low Current Spinup is enabled, with this command ------> ./openSeaChest_Basics --deviceInfo --device /dev/sda1 --- output ------------>
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_Basics --deviceInfo --device /dev/sda1
==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Fri Jun 14 12:19:45 2019
==========================================================================================
/dev/sg0 - 3.0 - BCDEF - ATA
Vendor ID: USB
Model Number: 3.0
Serial Number: 0123456789ABCDEF
Firmware Revision: 0508
World Wide Name: 5000C500B4ADB587
Drive Capacity (TB/TiB): 8.00/7.28
Temperature Data:
Current Temperature (C): 45
Highest Temperature (C): 50
Lowest Temperature (C): 23
Power On Time: 12 hours
Power On Hours: 12.00
MaxLBA: 15628053167
Native MaxLBA: Not Reported
Logical Sector Size (B): 512
Physical Sector Size (B): 4096
Sector Alignment: 0
Rotation Rate (RPM): 7200
Form Factor (inch): 3.5
Last DST information:
DST has never been run
Long Drive Self Test Time: 13 hours 24 minutes
Interface speed:
Max Speed (Gb/s): 6.0
Negotiated Speed (Gb/s): 6.0
Annualized Workload Rate (TB/yr): 47.37
Total Bytes Read (MB): 865.42
Total Bytes Written (GB): 64.03
Encryption Support: Not Supported
Cache Size (MiB): 256.00
Read Look-Ahead: Enabled
Write Cache: Enabled
Low Current Spinup: Disabled
SMART Status: Unknown or Not Supported
ATA Security Information: Supported
Firmware Download Support: Full, Segmented, Deferred
Specifications Supported:
ACS-3
ACS-2
ATA8-ACS
ATA/ATAPI-7
ATA/ATAPI-6
ATA/ATAPI-5
ATA/ATAPI-4
SATA 3.1
SATA 3.0
SATA 2.6
SATA 2.5
SATA II: Extensions
SATA 1.0a
ATA8-AST
SPC-4
UAS
SPC-4
SBC-3
Features Supported:
Sanitize
SATA NCQ
SATA Rebuild Assist
SATA Software Settings Preservation [Enabled]
SATA Device Initiated Power Management
Power Management
Security
SMART [Enabled]
48bit Address
PUIS [Enabled]
GPL
Streaming
SMART Self-Test
SMART Error Logging
Write-Read-Verify
AMAC
EPC [Enabled]
Sense Data Reporting
SCT Write Same
SCT Error Recovery Control
SCT Feature Control
SCT Data Tables
Host Logging
Seagate In Drive Diagnostics (IDD)
Seagate Remanufacture
IT IS NOT ACTIVATED -----------> Low Current Spinup: Disabled
why, where is the mistake?
-----------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------
How do I set the settings to 127 with 1 hour spitdown?
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 3110
12 Power_Cycle_Count 0x0032 094 094 000 Old_age Always - 5471
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_PowerControl --device /dev/sda1 --setAPMLevel 127
==========================================================================================
openSeaChest_PowerControl - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_PowerControl Version: 1.10.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Fri Jun 14 12:49:32 2019
==========================================================================================
/dev/sg0 - 3.0 - BCDEF - ATA
Setting APM Level is not supported on this device.
why, where is the mistake?
(06-13-2019, 12:10 PM)tuxd3v Wrote:
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 Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_PowerControl --showAPMLevel --device /dev/sda1
==========================================================================================
openSeaChest_PowerControl - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_PowerControl Version: 1.10.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Fri Jun 14 12:58:28 2019
==========================================================================================
/dev/sg0 - 3.0 - BCDEF - ATA
Showing APM Level is not supported on this device.
-------------------------------------------------------------------------------------------------------------------------------------
I did it the way you suggested ------> Tutorial[ Seagate Disks ]: Install Seagate OpenSeaChest Utilities
I have extra ubuntu installed - ubuntu + windows 10 dual boot
(04-07-2019, 05:51 AM)tuxd3v Wrote: The fastest way is getting the disk out, and put it in your 3.5" adapter, in a Desktop or laptop,
Check if driver was builtin:
then install OpenSeaChest tools there:
And configure what you want, remove the disk and put it in the rockpro64 Again..
This is the easiest way of tunning your disk,
until you kernel compiles modules for SCSI Driver..
------------------------------------------------------------------------------------------------------------------------------------------
I'm desperate again
Please explain this to me please (for dumheads like me)
(06-14-2019, 05:08 AM)Neo2018 Wrote: my hard drive ----> is sda1 (new one: Seagate IronWolf 8TB)
Code: p@p-ubuntu:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 34,6M 1 loop /snap/gtk-common-themes/818
loop1 7:1 0 2,3M 1 loop /snap/gnome-calculator/260
loop2 7:2 0 13M 1 loop /snap/gnome-characters/139
loop3 7:3 0 140,7M 1 loop /snap/gnome-3-26-1604/74
loop4 7:4 0 14,5M 1 loop /snap/gnome-logs/45
loop5 7:5 0 3,7M 1 loop /snap/gnome-system-monitor/57
loop6 7:6 0 91M 1 loop /snap/core/6350
sda 8:0 0 7,3T 0 disk
└─sda1 8:1 0 7,3T 0 part /media/p/Daten3
sdb 8:16 0 489,1G 0 disk
└─sdb1 8:17 0 489G 0 part
sdc 8:32 0 465,8G 0 disk
├─sdc1 8:33 0 499M 0 part
├─sdc2 8:34 0 100M 0 part /boot/efi
├─sdc3 8:35 0 16M 0 part
├─sdc4 8:36 0 254,2G 0 part
├─sdc5 8:37 0 173,6G 0 part
└─sdc6 8:38 0 37,3G 0 part /
sr0 11:0 1 1024M 0 rom
next step i want ---> 2). Set Low Current SpinUP
(...)
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_Basics --deviceInfo --device /dev/sda1
==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Fri Jun 14 12:19:45 2019
==========================================================================================
/dev/sg0 - 3.0 - XYZW - ATA
Vendor ID: USB
Model Number: 3.0
Serial Number:
Firmware Revision: 0508
Temperature Data:
Current Temperature (C): 45
Highest Temperature (C): 50
Lowest Temperature (C): 23
Low Current Spinup: Disabled
SMART Status: Unknown or Not Supported
SATA Software Settings Preservation [Enabled]
SMART [Enabled]
PUIS [Enabled]
How do I set the settings to 127 with 1 hour spitdown?
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 3110
12 Power_Cycle_Count 0x0032 094 094 000 Old_age Always - 5471
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_PowerControl --device /dev/sda1 --setAPMLevel 127
==========================================================================================
openSeaChest_PowerControl - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_PowerControl Version: 1.10.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Fri Jun 14 12:49:32 2019
==========================================================================================
/dev/sg0 - 3.0 - BCDEF - ATA
Setting APM Level is not supported on this device.
why, where is the mistake?
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_PowerControl --showAPMLevel --device /dev/sda1
==========================================================================================
openSeaChest_PowerControl - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_PowerControl Version: 1.10.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Fri Jun 14 12:58:28 2019
==========================================================================================
/dev/sg0 - 3.0 - BCDEF - ATA
Showing APM Level is not supported on this device.
------------------------------------------------------------------------------------------------------------------------------------------
I'm desperate again
Please explain this to me please (for dumheads like me)
Hello Neo2018,
You need to breath , n o need to be with all that pressure..
For What I see from your post..
You have 2 disks there( but your Seagate is sda )!
sda1, sdb1,2,3 ... Are Partitions, **NOT disks**
You should configure **disks**, not partitions.. use ' /dev/sda' to configure steps..
Apart from that, the Only explanation I could find is related with your USB->Sata Adapter.. some commands are accepted some don't..
Try installing, in the machine you setup Ubuntu:
Code: apt-get install -y sg3-utils
reboot
The step 3), I think you can set it up with ' smartmontools'( in rockpro64.. ), so forget it for now..
Repeat steps 1), 2), 4), 5) in the Ubuntu machine you setup, after installing ' sg3-utils', using ' /dev/sda' has disk.
If that Doesn't work:
There have been some development in OpenSeachest to try to add more support for kernels without some functionalities( its in the ' master' branch now.. )
Has a last resource you could build OpenSeachest ' master' branch, and retest, but for now, forget this option..
(06-14-2019, 01:29 PM)tuxd3v Wrote: For What I see from your post..
You have 2 disks there( but your Seagate is sda )!
sda1, sdb1,2,3 ... Are Partitions, **NOT disks**
Yes, I only tried it with '/dev/sda'. Also with '/dev/sg0' , the same result is. ----> Low Current Spinup: Disabled
Disk sda is my new Seagate IronWolf 8TB / disk sdb are hard drives in the notebook.
Code: root@p-ubuntu:~/openSeaChest/Make/gcc/openseachest_exes# ./openSeaChest_Basics --scan
==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 X86_64
Build Date: Jun 13 2019
Today: Sat Jun 15 11:00:30 2019
==========================================================================================
Vendor Handle Model Number Serial Number FwRev
USB /dev/sg0 3.0 4 89ABCDEF 0508
TSSTcorp /dev/sg1 CDDVDW SN-208DB TM00
ATA /dev/sg2 Crucial_CT525MX300SSD1 17011543A8ED M0CR040
ATA /dev/sg3 Samsung SSD 850 EVO mSATA 500GB S247NXAG806622R EMT41B6Q
(06-14-2019, 01:29 PM)tuxd3v Wrote: Try installing, in the machine you setup Ubuntu:
Code: apt-get install -y sg3-utils
reboot
The step 3), I think you can set it up with 'smartmontools'( in rockpro64.. ), so forget it for now..
Repeat steps 1),2),4),5) in the Ubuntu machine you setup, after installing 'sg3-utils', using '/dev/sda' has disk. also after installing ' sg3-utils', does not help, same result ----> Low Current Spinup: Disabled
(06-14-2019, 01:29 PM)tuxd3v Wrote: The step 3), I think you can set it up with 'smartmontools'( in rockpro64.. ), so forget it for now..
About rockpro64 I had the problem that I could not set a spindown time. and I the setting 127, 128 is the hard disk already sleep mode after about 15 minutes. but I want at least 30/60 minutes. 15min is too little for my needs. I want to avoid the constant on / off of the hard disk. We had already discussed the topic. post in OMV Forum and PINE64 Forum. I thought, i can set via OpenSeaChest.?
(06-14-2019, 01:29 PM)tuxd3v Wrote: Apart from that, the Only explanation I could find is related with your USB->Sata Adapter.. some commands are accepted some don't.. I do not have many options anymore. a chance 50/50 USB or the ubuntu + windows 10 dual boot, makes problems. I am desperate.
(06-14-2019, 01:29 PM)tuxd3v Wrote: If that Doesn't work:
There have been some development in OpenSeachest to try to add more support for kernels without some functionalities( its in the 'master' branch now.. )
Has a last resource you could build OpenSeachest 'master' branch, and retest, but for now, forget this option.. where and how do I ' master' ? so that I install it without errors, etc.
delete -> /openSeaChest/Make/gcc/openseachest_exes and from new git clone https://github.com/Seagate/openSeaChest/tree/master ????????????
(06-15-2019, 05:37 AM)Neo2018 Wrote: where and how do I 'master' ? so that I install it without errors, etc.
delete -> /openSeaChest/Make/gcc/openseachest_exes and from new git clone https://github.com/Seagate/openSeaChest/tree/master ????????????
Hello Neo2018,
Some disks don't have some features, others have..
Also there are a feature in the disks to turn information persistent or not.. I don't recall if I activated that first or not..
To know for sure you need to read the manual of OpenSeaChest..
For example My IronWolfs 4TB doesn't support FreeFall adjustments..
I wanted to tune the disks to detect they are Falling, and Park their heads for minimal damage when they Hit the floor..
But my versions doesn't support it.. Maybe the PRO versions do, or maybe another Release do, mine don't support adjustments..
But Low Current SpinUp, I think is standard in all IronWolfs..
To get the 'Master Branch',
Follow the steps in the Tutorial,( with Exception of step 2). ), the new step 2). for master branch is bellow ..
Resuming:
1).
Step 1). from Tutorial
2). Get master branch of OpenSeaChest
Code: mkdir master && cd master
git clone --recursive --branch master https://github.com/Seagate/openSeaChest.git
3).
Step 3). from Tutorial
The rest is the same, try with that branch..
Regards,
|