Tutorial[ Seagate Disks ]: Optimize Life Span/Power Managment
#11
(06-15-2019, 09:14 AM)tuxd3v Wrote: 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 ..
The same ----> Low Current Spinup: Disabled Angry 

Now I'm looking for a desktop PC. Maybe this helps?
#12
Humm, Hold on a bit... I will check Documentation..
There are a Feature to turn changes persistent, it works for only a subset of things, maybe I forgot that..
I will look into it, and you can try it then..
What a moment  Shy..



EDIT: 
For what I saw you already have:
'SATA Software Settings Preservation [Enabled]'

But I detected that you have some things that I don't, and I have another ones that you don't..  Confused
Code:
root@helios4:~# openSeaChest_Basics --deviceInfo --device /dev/sda -v 1
==========================================================================================
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 ARM
Build Date: Feb  3 2019
Today: Sun Jun 16 19:47:51 2019
==========================================================================================

/dev/sg0 - ST4000VN008-XXXXXX - XXXXXXXX - ATA
Model Number: ST4000VN008-XXXXXX
Serial Number: XXXXXXXX
Firmware Revision: SC60
World Wide Name: xyzw
Drive Capacity (TB/TiB): 4.00/3.64
Native Drive Capacity (TB/TiB): 4.00/3.64
Temperature Data:
Current Temperature (C): 26
Highest Temperature (C): 39
Lowest Temperature (C): 0
Power On Time:  134 days 13 hours 57 minutes
Power On Hours: 3229.95
MaxLBA: 7814037167
Native MaxLBA: 7814037167
Logical Sector Size (B): 512
Physical Sector Size (B): 4096
Sector Alignment: 0
Rotation Rate (RPM): 5980
Form Factor (inch): 3.5
Last DST information:
DST has never been run
Long Drive Self Test Time:  10 hours 13 minutes
Interface speed:
Max Speed (Gb/s): 6.0
Negotiated Speed (Gb/s): 6.0
Annualized Workload Rate (TB/yr): 66.98
Total Bytes Read (TB): 20.15
Total Bytes Written (TB): 4.55
Encryption Support: Not Supported
Cache Size (MiB): 64.00
Read Look-Ahead: Enabled
Write Cache: Enabled
Low Current Spinup: Enabled
SMART Status: Good
ATA Security Information: Supported
Firmware Download Support: Full, Segmented, Deferred, DMA
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
Features Supported:
Sanitize
SATA NCQ
SATA Rebuild Assist
SATA Software Settings Preservation [Enabled]
SATA Device Initiated Power Management
HPA
Power Management
Security
SMART [Enabled]
DCO
48bit Address
PUIS [Enabled]
APM [Enabled]
GPL
Streaming
SMART Self-Test
SMART Error Logging
Write-Read-Verify
Sense Data Reporting [Enabled]
SCT Write Same
SCT Error Recovery Control
SCT Feature Control
SCT Data Tables
Host Logging
Seagate In Drive Diagnostics (IDD)

With a power on time of:
' Power On Time:  134 days 13 hours 57 minutes'

I have:
Code:
# for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1898
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1874
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1852

My Load/Unload numbers are like new ( ~ 1800 cycles.. )  Shy


If you look into my current temperature:
' Current Temperature (C): 26'

You will notice that its **a lot lower** than in your disks, ( your luck is that you own Seagate disks...they support higher temps than others.. maxout at 70C, for the case.. )
If I recall it correctly your higher temp are around 50C, that starts to be uncomfortable high..

Mines maxout at around ~30C ..

I Remember of one thing..
Try to set values with the ISCSI handler instead:
Identify the handler:
Code:
openSeaChest_Basics --scan --scanFlags sgtosd --device /dev/sda
==========================================================================================
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 ARM
Build Date: Feb  3 2019
Today: Sun Jun 16 20:28:29 2019
==========================================================================================
Vendor   Handle       Model Number            Serial Number          FwRev    
ATA      sg0<->sda    ST4000VN008-XXXXXX      XXXXXXXX               SC60      
ATA      sg1<->sdb    ST4000VN008-XXXXXX      XXXXXXXX               SC60      
ATA      sg2<->sdc    ST4000VN008-XXXXXX      XXXXXXXX               SC60

And then instead of using '/dev/sda' use '/dev/sg0'( probably this will not work, because even using '/dev/sda' Seagate uses underneath the SCSI protocol over ATA.. its only a shot.. ).



Your problem, probably has to do with the fact that, your Sata Adapter, doesn't Acknowledge the power cycle you do when rebooting the Operating system..
Try configuring , then shutting down, remove the disk, wait a bit insert it again, and then boot and check..

If that doesn't work, you probably need a native Sata port around..  Sad
#13
(06-16-2019, 01:19 PM)tuxd3v Wrote: If you look into my current temperature:
' Current Temperature (C): 26'

You will notice that its **a lot lower** than in your disks, ( your luck is that you own Seagate disks...they support higher temps than others.. maxout at 70C, for the case.. )
If I recall it correctly your higher temp are around 50C, that starts to be uncomfortable high..

Mines maxout at around ~30C ..
Hello tuxd3v,
I also thought about why the temperature is so high. My second hard drive (4TB) also has a high temperature about 32c in sleep mode, in operation I try to cool it with fan always. (no comparison to your 26c). what does it relate to?????????

(06-16-2019, 01:19 PM)tuxd3v Wrote: I have:
Code:
# for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1898
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1874
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1852

My Load/Unload numbers are like new ( ~ 1800 cycles.. )  Shy
My Load/Unload numbers is too high? ( ~ 5400 cycles.. )  Angry ???
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       -       3124
12 Power_Cycle_Count       0x0032   094   094   000    Old_age   Always       -       5485

(06-16-2019, 01:19 PM)tuxd3v Wrote: And then instead of using '/dev/sda' use '/dev/sg0'( probably this will not work, because even using '/dev/sda' Seagate uses underneath the SCSI protocol over ATA.. its only a shot.. ).

no difference, have already tried that post #9

(06-16-2019, 01:19 PM)tuxd3v Wrote: Your problem, probably has to do with the fact that, your Sata Adapter, doesn't Acknowledge the power cycle you do when rebooting the Operating system..
Try configuring , then shutting down, remove the disk, wait a bit insert it again, and then boot and check..

If that doesn't work, you probably need a native Sata port around..  Sad

most likely, I'm looking for a desktop PC. my last chance. I do not understand the problem, why developer (Seagate) can not make that easier.

Thank you for your help and patience with me!
#14
(06-18-2019, 03:22 AM)Neo2018 Wrote: Hello tuxd3v,
I also thought about why the temperature is so high. My second hard drive (4TB) also has a high temperature about 32c in sleep mode, in operation I try to cool it with fan always. (no comparison to your 26c). what does it relate to?????????

(06-16-2019, 01:19 PM)tuxd3v Wrote: I have:
Code:
# for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1898
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1874
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       4
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       1852

My Load/Unload numbers are like new ( ~ 1800 cycles.. )  Shy
My Load/Unload numbers is too high? ( ~ 5400 cycles.. )  Angry ???
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       -       3124
12 Power_Cycle_Count       0x0032   094   094   000    Old_age   Always       -       5485
Hello Neo2018,
You welcome  Shy

I use a Fan to vent the disks, and I have configured the disks for power saving( They are majority of time in APM mode 1, Because when you configure them in APM 127, after some time without activity they enter in APM mode 1, also known as StandBy..only the Controller board is in part activated,..this saves energy, the disks, and lower the temps.. ) ..

The Power Balance Feature..
IronWolfs ship with settings in 'Performance' Mode.. So we need to adjust for our own needs the power settings..


Load/Unload,
You posted the 'Power Cycles' of your disks..
And that is  a preoccupation, because you have ~3000-5000 'Power Cycles'( SMART attribute 12, the Load/Unload is SMART attribute 193 ).

That tells me that, your disks fail to start a lot of times due to not sufficient power budget..
Probably because they are in 'Performance' Mode..

Best Regards,
#15
(06-18-2019, 08:06 AM)tuxd3v Wrote: I use a Fan to vent the disks, and I have configured the disks for power saving
Do you also use the ROCKPro64 Metal Desktop / NAS Casing or something else?

(06-18-2019, 08:06 AM)tuxd3v Wrote: ( They are majority of time in APM mode 1, Because when you configure them in APM 127, after some time without activity they enter in APM mode 1, also known as StandBy..only the Controller board is in part activated,..this saves energy, the disks, and lower the temps.. ) ..

OK. I understood that.
Please tell me the right command to configure on for example 128 or 192. Is that correct? --> ./openSeaChest_PowerControl --device /dev/sda --setAPMLevel 128

And the right command to configure spindown time. I want to set 30 to 60 minutes. Is that possible?

(06-18-2019, 08:06 AM)tuxd3v Wrote: Load/Unload,
You posted the 'Power Cycles' of your disks..
And that is  a preoccupation, because you have ~3000-5000 'Power Cycles'( SMART attribute 12, the Load/Unload is SMART attribute 193 ).

That tells me that, your disks fail to start a lot of times due to not sufficient power budget..
Probably because they are in 'Performance' Mode..

I'll test that with for blockid in {a..d};do smartctl --attributes /dev/sd${blockid}|grep -E "^ 12|^193"; done for a week.


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

Forum Jump:


Users browsing this thread: 1 Guest(s)