TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: GREGORIE
from: JAN PANTELTJE
date: 2020-03-07 08:39:00
subject: Re: self hosting on the P

On a sunny day (Fri, 6 Mar 2020 17:35:46 -0000 (UTC)) it happened Martin
Gregorie  wrote in :

>On Fri, 06 Mar 2020 16:07:32 +0000, Jan Panteltje wrote:
>
>> Only harddisk I ever killed was when I dropped one from the bookshelf 20
>> years or so ago.. For the rest never have any problems, several on for
>> 15 years or more 24/7.
>>
>That seems to be manufacturer-dependent. Back when 20-40MB was considered
>a good sized 3.5" disk, I used Maxstor drives and never had one last as
>long as than 3 years - and that was before I had a server running 24 x 7.
>After that I switched to WD Blue drives and don't believe any of them
>died, though the systems they were it became obsolete and got replaced.
>
>On last two HDDs I had fail were the 2.5" Hitachi in the Lenovo R61i
>(47,000 hours) and a Hitachi 3.5" in the house server, which runs 24 x 7,
>at 49,000 hours. Both are good, seeing that the expected (guestimated)
>life of these disks is 50,000 hours.

Ooops, correction, seems the 3.2 TB USB harddisk I have connected to the Pi4 is
not a Hitachi, but a Toshiba.
raspi95: ~ # hdparm -I /dev/sda
ATA device, with non-removable media
        Model Number:       TOSHIBA MQ04UBB400
        Serial Number:      59UDT18UT
        Firmware Revision:  JS000U
        Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions,
SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0

It is even written on it :-)

In the eighties you had IBM drives of maybe it was 10GB? tha thad a mechanical
lever likething on the side,
it ws connected to teh head movement,
If the head positioning got stuck or something you could move that lever
and the thing would work again....
So, anyways, sorry about that.

Here is some data on long running PC harddisks I have on my table here
using the 'smartctl' utility

Oldest one, runs grml, is based on Debian:


grml: ~ # smartctl --all /dev/hda | grep -i power_on_hours
  9 Power_On_Hours          0x0032   052   052   000    Old_age   Always      
-       42069
Model Family:     Seagate U Series 5 family
Device Model:     ST340823A
Serial Number:    5EF0Q4VR
Firmware Version: 3.11
User Capacity:    40,020,664,320 bytes
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED 
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000e   064   046   025    Old_age   Always      
-       184809966
  3 Spin_Up_Time            0x0002   070   070   000    Old_age   Always      
-       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always      
-       758
  5 Reallocated_Sector_Ct   0x0032   100   100   036    Old_age   Always      
-       0
  7 Seek_Error_Rate         0x000e   085   060   030    Old_age   Always      
-       387347997
  9 Power_On_Hours          0x0032   052   052   000    Old_age   Always      
-       42069
 10 Spin_Retry_Count        0x0012   100   100   097    Old_age   Always      
-       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always      
-       1858
194 Temperature_Celsius     0x0022   020   048   000    Old_age   Always      
-       20
195 Hardware_ECC_Recovered  0x001a   061   052   000    Old_age   Always      
-       98610043
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   0x0000   100   100   000    Old_age   Offline     
-       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always      
-       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours) 
LBA_of_first_error
# 1  Extended offline    Completed without error       00%     41561         -


grml: ~ # smartctl --all /dev/hdb | grep -i power_on_hours
  9 Power_On_Hours          0x0032   053   053   000    Old_age   Always      
-       41909
=== START OF INFORMATION SECTION ===
Model Family:     Seagate U Series 5 family
Device Model:     ST340823A
Serial Number:    5EF0Q65W
Firmware Version: 3.11
User Capacity:    40,020,664,320 bytes
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED 
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000e   060   051   025    Old_age   Always      
-       70817756
  3 Spin_Up_Time            0x0002   070   070   000    Old_age   Always      
-       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always      
-       724
  5 Reallocated_Sector_Ct   0x0032   100   100   036    Old_age   Always      
-       0
  7 Seek_Error_Rate         0x000e   087   060   030    Old_age   Always      
-       638797005
  9 Power_On_Hours          0x0032   053   053   000    Old_age   Always      
-       41909
 10 Spin_Retry_Count        0x0012   100   100   097    Old_age   Always      
-       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always      
-       1854
194 Temperature_Celsius     0x0022   021   054   000    Old_age   Always      
-       21
195 Hardware_ECC_Recovered  0x001a   063   052   000    Old_age   Always      
-       123271335
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   0x0000   100   100   000    Old_age   Offline     
-       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always      
-       0

SMART Error Log Version: 1
No Errors Logged


grml: ~ # smartctl --all /dev/hdd | grep -i power_on_hours
  9 Power_On_Hours          0x0032   045   045   000    Old_age   Always      
-       48796
== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.7 and 7200.7 Plus family
Device Model:     ST3120026A
Serial Number:    5JT5C5LR
Firmware Version: 8.01
User Capacity:    120,034,123,776 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2

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   051   049   006    Pre-fail  Always      
-       88898812
  3 Spin_Up_Time            0x0003   097   096   000    Pre-fail  Always      
-       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always      
-       25
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always      
-       0
  7 Seek_Error_Rate         0x000f   089   060   030    Pre-fail  Always      
-       871579226
  9 Power_On_Hours          0x0032   045   045   000    Old_age   Always      
-       48796
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always      
-       0
 12 Power_Cycle_Count       0x0032   099   099   020    Old_age   Always      
-       1149
194 Temperature_Celsius     0x0022   030   057   000    Old_age   Always      
-       30
195 Hardware_ECC_Recovered  0x001a   051   049   000    Old_age   Always      
-       88898812
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   187   000    Old_age   Always      
-       2142
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline     
-       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always      
-       0

SMART Error Log Version: 1
ATA Error Count: 2139 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 2139 occurred at disk power-on lifetime: 48790 hours (2032 days + 22
hours)
  When the command that caused the error occurred, the device was active or
idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 01 d2 1e 31 f0  Error: ICRC, ABRT 1 sectors at LBA = 0x00311ed2 =
3219154

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 90 43 1e 31 f0 00      00:01:23.404  READ DMA EXT
  25 00 90 43 1e 31 f0 00      00:01:25.455  READ DMA EXT
  10 00 3f 00 00 00 f0 00      00:01:24.817  RECALIBRATE [OBS-4]
  25 00 90 43 1e 31 f0 00      00:01:24.817  READ DMA EXT
  25 00 90 43 1e 31 f0 00      00:01:24.201  READ DMA EXT

Error 2138 occurred at disk power-on lifetime: 48790 hours (2032 days + 22
hours)
  When the command that caused the error occurred, the device was active or
idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 01 d2 1e 31 f0  Error: ICRC, ABRT 1 sectors at LBA = 0x00311ed2 =
3219154

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 90 43 1e 31 f0 00      00:01:23.404  READ DMA EXT
  10 00 3f 00 00 00 f0 00      00:01:23.404  RECALIBRATE [OBS-4]
  25 00 90 43 1e 31 f0 00      00:01:24.817  READ DMA EXT
  25 00 90 43 1e 31 f0 00      00:01:24.817  READ DMA EXT
  25 00 18 53 9c 2f f0 00      00:01:24.201  READ DMA EXT

Error 2137 occurred at disk power-on lifetime: 48790 hours (2032 days + 22
hours)
  When the command that caused the error occurred, the device was active or
idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 01 d2 1e 31 f0  Error: ICRC, ABRT 1 sectors at LBA = 0x00311ed2 =
3219154

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 90 43 1e 31 f0 00      00:01:23.404  READ DMA EXT
  25 00 90 43 1e 31 f0 00      00:01:23.404  READ DMA EXT
  25 00 18 53 9c 2f f0 00      00:01:23.398  READ DMA EXT
  25 00 08 9b 52 2f f0 00      00:01:23.388  READ DMA EXT
  25 00 08 3b 46 f1 f0 00      00:01:24.201  READ DMA EXT

Error 2136 occurred at disk power-on lifetime: 48790 hours (2032 days + 22
hours)
  When the command that caused the error occurred, the device was active or
idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 01 d2 1e 31 f0  Error: ICRC, ABRT 1 sectors at LBA = 0x00311ed2 =
3219154

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 90 43 1e 31 f0 00      00:01:23.404  READ DMA EXT
  25 00 18 53 9c 2f f0 00      00:01:23.404  READ DMA EXT
  25 00 08 9b 52 2f f0 00      00:01:23.398  READ DMA EXT
  25 00 08 3b 46 f1 f0 00      00:01:23.388  READ DMA EXT
  25 00 c0 fb 0c 3b f0 00      00:01:23.377  READ DMA EXT

Error 2135 occurred at disk power-on lifetime: 48790 hours (2032 days + 22
hours)
  When the command that caused the error occurred, the device was active or
idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 01 72 22 2b f0  Error: ICRC, ABRT 1 sectors at LBA = 0x002b2272 =
2826866

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 58 1b 22 2b f0 00      00:01:15.817  READ DMA EXT
  25 00 40 db 21 2b f0 00      00:01:15.808  READ DMA EXT
  25 00 08 db 4d 29 f0 00      00:01:15.799  READ DMA EXT
  25 00 18 c3 21 2b f0 00      00:01:15.853  READ DMA EXT
  25 00 18 ab 21 2b f0 00      00:01:15.852  READ DMA EXT

Those errors are mainly because I was messing around with it, disc is OK.
 ----------------

And for the a bit more recent? :-)  PC, runs Slackware:
sda
       Model Number:       Hitachi HDS721050DLE630
        Serial Number:      MSK4235H34LZGH
        Firmware Revision:  MS1OA610
        Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions,
        SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0; Revision: ATA8-AST T13
        Project D1697 Revision 0b

sdb
ATA device, with non-removable media
        Model Number:       TOSHIBA HDWD130
        Serial Number:      19C59AWAS
        Firmware Revision:  MX6OACF0
        Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions,
        SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0; Revision: ATA8-AST T13
        Project D1697 Revision 0b

root@panteltje12:~# smartctl --all /dev/sda | grep -i power_on_hours
  9 Power_On_Hours          0x0012   092   092   000    Old_age   Always
-       62357

No errors

62357 hours on Hitachi is not bad.

Recently added disk:
root@panteltje12:~# smartctl --all /dev/sdb | grep -i power_on_hours
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always
-       596


OK, 'nuf said.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.