Forums

t1ck3ts
t1ck3ts
Offline
Resolved
0 votes
I've gone and moved around some drives and now have an internal SSD with my 4 drive bays (HP Gen8 Microserver) as data disks (not in any raid configuration) and i've also started to replace the older 2TB/3TB drives with 10TB Seagate Ironwolf drives.

With this, I've also gone ahead and switched to AHCI from Legacy sata support, along with reloading ClearOS

I've noticed my drives are spinning down and up, constantly. (From what i hear, this isn't great for the lifespan of the drives, although, this was talked about years and years ago)

Is there a way to disable the spindown of drives in ClearOS ?
Wednesday, July 24 2019, 01:05 AM
Share this post:

Accepted Answer

Wednesday, July 24 2019, 10:06 AM - #Permalink
Resolved
0 votes
I've had a search and it appears the parameter does not work on Ironwolf drives.

This is interesting. Just writing a dummy file every second. You could do it every 5 seconds or something a bit quicker than the spin down interval. If "touch" does not work due to caching, you could echo a random character to a file instead.
The reply is currently minimized Show
Responses (6)
  • Accepted Answer

    t1ck3ts
    t1ck3ts
    Offline
    Thursday, July 25 2019, 07:46 PM - #Permalink
    Resolved
    1 votes
    Nick, just giving you an update with the situation and for anyone looking to disable Seagate IronWolf Power management (Spin down).

    Seagate support was no help (Giving me support for a Windows system, when i opened a ticket under the Linux section and also listing multiple times in the ticket, that its Linux!) , so i looked around their site for the old Seagate Tools and came across the Seagate SeaChest utility pack (Windows/Linux)

    Download here: http://support.seagate.com/seachest/SeaChestUtilities.zip

    In this, you can find SeaChestUtilities.zip\Linux\Lin64\SeaChest_PowerControl_191_1183_64
    documents for this utility found in SeaChestUtilities.zip\Linux\SeaChest_PowerControl.191-Lin.txt

    Which i then used:
    List the drives, to find the right one:
    SeaChest_PowerControl_191_1183_64 -s
    Disable the APM (Advanced Power Management)
    SeaChest_PowerControl_191_1183_64 -d /dev/sgX --EPCfeature disable
    SeaChest_PowerControl_191_1183_64 -d /dev/sgX --powerBalanceFeature disable
    Where X being the drive you need.

    You could just alter some settings, but these drives have 4 settings, each setting is a a completely different part of the drive. i.e) Header Seating or lower power consumption/reduce RPM, etc.

    Example: (This is after i disabled)

    # ./SeaChest_PowerControl_191_1183_64 -d /dev/sg4 --showEPCSettings
    ==========================================================================================
    SeaChest_PowerControl - Seagate drive utilities - NVMe Enabled
    Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
    SeaChest_PowerControl Version: 1.9.1-1_18_3 X86_64
    Build Date: Oct 18 2018
    Today: Thu Jul 25 23:04:33 2019
    ==========================================================================================

    /dev/sg4 - ST10000VN0004-1ZD101 - ZA2BE0JR - ATA
    .

    ===EPC Settings===
    * = timer is enabled
    C column = Changeable
    S column = Saveable
    All times are in 100 milliseconds

    Name Current Timer Default Timer Saved Timer Recovery Time C S
    Idle A 0 *1 *1 1 Y Y
    Idle B 0 *1200 *1200 4 Y Y
    Idle C 0 6000 6000 50 Y Y
    Standby Z 0 9000 9000 120 Y Y


    Hope this helps anyone else using Seagate IronWolf drives.
    The reply is currently minimized Show
  • Accepted Answer

    t1ck3ts
    t1ck3ts
    Offline
    Wednesday, July 24 2019, 11:11 AM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    If you don't get anywhere with the, I like the crontab/touch idea.

    I've done this in the mean time, while i wait to hear back from Seagate, else i will just give them a call if it takes too long via email. Lets see if this stops the drive from spinning down for now.

    Thanks again, Nick!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 24 2019, 10:46 AM - #Permalink
    Resolved
    0 votes
    If you don't get anywhere with the, I like the crontab/touch idea.
    The reply is currently minimized Show
  • Accepted Answer

    t1ck3ts
    t1ck3ts
    Offline
    Wednesday, July 24 2019, 10:39 AM - #Permalink
    Resolved
    0 votes
    Going to try and contact Seagate and get some info about it, i mean, currently, i have a Start_Stop_Count of 56, and the drive is 3 days old.
    SMART Attributes Data Structure revision number: 10
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x000f 072 065 044 Pre-fail Always - 14367176
    3 Spin_Up_Time 0x0003 086 086 000 Pre-fail Always - 0
    4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 56
    5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
    7 Seek_Error_Rate 0x000f 070 060 045 Pre-fail Always - 10279795
    9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 106 (10 213 0)
    10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
    12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 3
    184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
    187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
    188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
    189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
    190 Airflow_Temperature_Cel 0x0022 065 057 040 Old_age Always - 35 (Min/Max 28/43)
    191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 299
    192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 0
    193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 219
    194 Temperature_Celsius 0x0022 035 043 000 Old_age Always - 35 (0 28 0 0 0)
    195 Hardware_ECC_Recovered 0x001a 009 005 000 Old_age Always - 14367176
    197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
    200 Multi_Zone_Error_Rate 0x0023 100 100 001 Pre-fail Always - 0
    240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 41 (109 202 0)
    241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 9412492792
    242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 501952746
    The reply is currently minimized Show
  • Accepted Answer

    t1ck3ts
    t1ck3ts
    Offline
    Wednesday, July 24 2019, 08:35 AM - #Permalink
    Resolved
    0 votes
    Thanks for the help. Nick.

    Seems the actual NAS drive, does not have an advanced power management feature, or so it says:
    # hdparm -B255 /dev/sde

    /dev/sde:
    setting Advanced Power Management level to disabled
    HDIO_DRIVE_CMD failed: Input/output error
    APM_level = not supported

    # hdparm -C /dev/sde

    /dev/sde:
    drive state is: unknown

    # hdparm -I /dev/sde

    /dev/sde:

    ATA device, with non-removable media
    Model Number: ST10000VN0004-1ZD101
    Serial Number: ZA2BE0JR
    Firmware Revision: SC60
    Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SAT A Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
    Standards:
    Used: unknown (minor revision code 0x006d)
    Supported: 10 9 8 7 6 5
    Likely used: 10
    Configuration:
    Logical max current
    cylinders 16383 16383
    heads 16 16
    sectors/track 63 63
    --
    CHS current addressable sectors: 16514064
    LBA user addressable sectors: 268435455
    LBA48 user addressable sectors:19532873728
    Logical Sector size: 512 bytes
    Physical Sector size: 4096 bytes
    Logical Sector-0 offset: 0 bytes
    device size with M = 1024*1024: 9537536 MBytes
    device size with M = 1000*1000: 10000831 MBytes (10000 GB)
    cache/buffer size = unknown
    Form Factor: 3.5 inch
    Nominal Media Rotation Rate: 7200
    Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16 Current = 16
    Recommended acoustic management value: 254, current value: 0
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
    Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
    Cycle time: no flow control=120ns IORDY flow control=120ns
    Commands/features:
    Enabled Supported:
    * SMART feature set
    Security Mode feature set
    * Power Management feature set
    * Write cache
    * Look-ahead
    * WRITE_BUFFER command
    * READ_BUFFER command
    * DOWNLOAD_MICROCODE
    Power-Up In Standby feature set
    * SET_FEATURES required to spinup after power up
    SET_MAX security extension
    * 48-bit Address feature set
    * Mandatory FLUSH_CACHE
    * FLUSH_CACHE_EXT
    * SMART error logging
    * SMART self-test
    * Media Card Pass-Through
    * General Purpose Logging feature set
    * WRITE_{DMA|MULTIPLE}_FUA_EXT
    * 64-bit World wide name
    * IDLE_IMMEDIATE with UNLOAD
    Write-Read-Verify feature set
    * WRITE_UNCORRECTABLE_EXT command
    * {READ,WRITE}_DMA_EXT_GPL commands
    * Segmented DOWNLOAD_MICROCODE
    unknown 119[6]
    * unknown 119[7]
    unknown 119[8]
    * Gen1 signaling speed (1.5Gb/s)
    * Gen2 signaling speed (3.0Gb/s)
    * Gen3 signaling speed (6.0Gb/s)
    * Native Command Queueing (NCQ)
    * Phy event counters
    * Idle-Unload when NCQ is active
    * unknown 76[15]
    * DMA Setup Auto-Activate optimization
    Device-initiated interface power management
    * Software settings preservation
    unknown 78[7]
    unknown 78[11]
    * SMART Command Transport (SCT) feature set
    * SCT Write Same (AC2)
    * SCT Error Recovery Control (AC3)
    * SCT Features Control (AC4)
    * SCT Data Tables (AC5)
    unknown 206[7]
    unknown 206[12] (vendor specific)
    unknown 206[14] (vendor specific)
    * reserved 69[3]
    Security:
    Master password revision code = 65534
    supported
    not enabled
    not locked
    frozen
    not expired: security count
    supported: enhanced erase
    Logical Unit WWN Device Identifier: 5000c500b6579b0e
    NAA : 5
    IEEE OUI : 000c50
    Unique ID : 0b6579b0e
    Checksum: correct



    Which is strange, because i still hear the NAS drive spin up as i even have that initial delay when opening a video off the drive from the TV.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 24 2019, 07:41 AM - #Permalink
    Resolved
    0 votes
    You have to use a utility called hdparm which you can install with yum. I think you have to repeat the command on every boot so I used to put the following in /etc/rc.d/rc.local:
    /sbin/hdparm -B255 /dev/sda
    Where /dev/sda was the drive. You may need to check the parameter for your drive. Google "man hdparm" for more information on the hdparm and google you drive for more info on your drive. Also note the info at the top of the rc.local file and remember to make the file executable. I had to stop using it as my drive, a WD Red, did not support it and never spun down anyway as it was designed for a NAS.

    Really for Always On drives it is better to have ones specifically designed for a NAS or better.
    The reply is currently minimized Show
Your Reply