Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Device Load Cycle Count zu hoch.

    Scheduled Pinned Locked Moved Deutsch
    6 Posts 3 Posters 674 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chris.7e
      last edited by chris.7e

      Hallo zusammen,

      ich habe vor ein paar Wochen die Platte getauscht und musste feststellen, dass der Load Cycle Count nach 495 Stunden viel zu hoch ist.
      Hatte gestern Abend bei suchen folgenden Post gefunden: https://forum.netgate.com/topic/24966/laptop-hard-drive-load-cycle-count
      Hier beschreibt eine das gleich Problem. Leider bekomme ich das APM nicht deaktiviert.
      Im Post hatte er ataidle installiert. Wie kann ich das nachinstallieren?

      Mit:

      pkg_add -r ataidle

      rehash

      geht es nicht.

      smartctl 7.3 2022-02-28 r5338 [FreeBSD 14.0-CURRENT amd64] (local build)
      Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
      
      === START OF INFORMATION SECTION ===
      Model Family:     Western Digital Black Mobile
      Device Model:     WDC WD5000LPLX-00ZNTT0
      Serial Number:    WD-WX41A4828C5P
      LU WWN Device Id: 5 0014ee 6b3470cbe
      Firmware Version: 01.01A01
      User Capacity:    500.107.862.016 bytes [500 GB]
      Sector Sizes:     512 bytes logical, 4096 bytes physical
      Rotation Rate:    7200 rpm
      Device is:        In smartctl database 7.3/5319
      ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
      SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
      Local Time is:    Fri Aug  4 12:21:03 2023 CEST
      SMART support is: Available - device has SMART capability.
      SMART support is: Enabled
      AAM feature is:   Unavailable
      APM level is:     128 (minimum power consumption without standby) 
      Rd look-ahead is: Enabled
      Write cache is:   Enabled
      DSN feature is:   Unavailable
      ATA Security is:  Disabled, frozen [SEC2]
      Wt Cache Reorder: Enabled
      
      SMART Attributes Data Structure revision number: 16
      Vendor Specific SMART Attributes with Thresholds:
      ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
        1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
        3 Spin_Up_Time            POS--K   149   148   021    -    1533
        4 Start_Stop_Count        -O--CK   100   100   000    -    49
        5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
        7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
        9 Power_On_Hours          -O--CK   100   100   000    -    495
       10 Spin_Retry_Count        -O--CK   100   253   000    -    0
       11 Calibration_Retry_Count -O--CK   100   253   000    -    0
       12 Power_Cycle_Count       -O--CK   100   100   000    -    47
      192 Power-Off_Retract_Count -O--CK   200   200   000    -    25
      193 Load_Cycle_Count        -O--CK   182   182   000    -    54366 <--------------------------------------------
      194 Temperature_Celsius     -O---K   114   096   000    -    29
      196 Reallocated_Event_Count -O--CK   200   200   000    -    0
      197 Current_Pending_Sector  -O--CK   200   200   000    -    0
      198 Offline_Uncorrectable   ----CK   100   253   000    -    0
      199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
      200 Multi_Zone_Error_Rate   ---R--   100   253   000    -    0
      
      1 Reply Last reply Reply Quote 0
      • C
        chris.7e
        last edited by

        Hallo zusammen,

        habe es gefunden:

        camcontrol cmd ada0 -a "EF 85 00 00 00 00 00 00 00 00 00 00" - disables APM
        

        Damit wird APM abgeschaltet und der Load Cycle Count steigt nicht mehr.
        Jetzt würde ich den Command nach jedem start automatisch abfeuern. Wo kann ich das machen?

        V 1 Reply Last reply Reply Quote 0
        • V
          viragomann @chris.7e
          last edited by

          @chris-7e
          Hallo,

          das Cron Package installieren, wenn noch nicht geschehen.

          Darin ein Schedule anlegen, ins Feld Minute:

          @reboot
          

          User: root
          und den Befehl in Command.

          Eigentlich sollte pfSense APM automatisch deaktivieren, aber bei manchen Festplatten schlägt die Erkennung der Funktion fehl.

          C 1 Reply Last reply Reply Quote 1
          • C
            chris.7e @viragomann
            last edited by

            @viragomann

            Hi,

            danke für Tipp. Eingebaut und läuft. 👍

            Gruß
            Chris

            JeGrJ 1 Reply Last reply Reply Quote 0
            • JeGrJ
              JeGr LAYER 8 Moderator @chris.7e
              last edited by

              @chris-7e Alternativ über das shellcmd Paket als (early)shellcmd hinzufügen. Crontab wird hier nämlich gern nach Neuinstallation zurückgesetzt, Shellcmd speichert aber in config.xml :)

              Cheers

              Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

              If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @JeGr
                last edited by

                @JeGr said in Device Load Cycle Count zu hoch.:

                Crontab wird hier nämlich gern nach Neuinstallation zurückgesetzt, Shellcmd speichert aber in config.xml :)

                Das gilt für cron doch auch.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.