Tutorial[ Seagate Disks ]: Optimize Life Span/Power Managment
#7
(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  Shy
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)


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 9,698 04-04-2022, 05:26 AM
Last Post: GreyLinux
  SimpNas server with docker - home assistant, radicale , jellyfin & esphome (tutorial) GreyLinux 0 4,365 01-17-2021, 11:33 AM
Last Post: GreyLinux
  Tutorial:How to Configure ATS Fan control tuxd3v 26 52,878 11-06-2020, 08:56 PM
Last Post: g_t_j
  Serial Connection Tutorial: FTDI 232RL hmuller 0 3,205 10-23-2020, 11:56 AM
Last Post: hmuller
Thumbs Up Tutorial[ Seagate Disks ]: Install Seagate OpenSeaChest Utilities tuxd3v 41 75,528 04-08-2019, 10:10 AM
Last Post: Neo2018
  Tutorial[ Multimedia ] : Play DVD movies tuxd3v 0 2,718 02-26-2019, 07:21 PM
Last Post: tuxd3v
  Tutorial[ OpenCL ]: OpenCL 1.2 FULL_PROFILE Working tuxd3v 0 3,959 11-06-2018, 01:03 PM
Last Post: tuxd3v

Forum Jump:


Users browsing this thread: 1 Guest(s)