Board logo

標題: [保養相關] 硬碟保養心得 [打印本頁]

作者: c007    時間: 2020-3-30 16:32     標題: 硬碟保養心得

想問各位師兄 如果想好好保養 硬碟 應該係長期通電畀佢行 淨係行一陣跟住斷電收返佢 唔畀佢行咁多工作時數 減少消耗?
作者: youhello507    時間: 2020-3-30 17:30

唔知......公司 server 可以係 7x24 行十幾年都冇事.
屋企只會有人才開機. 都係果句,  backup 才是王道
作者: gordan9890    時間: 2020-4-1 02:21

其實真係唔使理佢,我有隻東芝2tb,已經用咗30000小時,都未有事,樓上師兄講得啱,最緊要backup
作者: martinnitram    時間: 2020-4-1 10:28

唔使理佢+1. 最記得 N 年前買咗隻 WD black 5 年保用 offline backup, 每星期抄兩次 data (300G) 左右, 第三年都係突然死亡.
反而同期買個隻做 online data, 差唔多 24x7 開, so far 都無事
作者: dds    時間: 2020-4-1 10:31

回覆 1# c007

HDD  越唔用越快死.

係夏天個陣,搞好d散熱就ok.
作者: a189252158    時間: 2020-4-2 22:16

常用磁粉就唔會變質,就耐用D
作者: 孔明仔    時間: 2020-4-5 00:38

好多時長行反而唔死 ...
作者: harryytm    時間: 2020-4-5 05:22

想硬碟長壽最重要係閒置 30 分鐘就入待命(摩打停轉)
作者: pc1668    時間: 2020-4-5 10:20

本帖最後由 pc1668 於 2020-4-5 10:25 編輯
想硬碟長壽最重要係閒置 30 分鐘就入待命(摩打停轉)
harryytm 發表於 2020-4-5 05:22


I'm using MG05 8TB in Unitek Y-3355 DAS, there is no way to set this kind of idle timeout!  It has been running in 24/7 for years!  Enterprise model with 5 years of local warranty is important.
作者: harryytm    時間: 2020-4-5 11:10

本帖最後由 harryytm 於 2020-4-5 11:45 編輯
I'm using MG05 8TB in Unitek Y-3355 DAS, there is no way to set this kind of idle timeout!  It has ...
pc1668 發表於 2020-4-5 10:20

Send ATA standby command with smartctl to instruct the HDD firmware go into standby after 30 minutes idle
Smartmontools is available on Linux, FreeBSD, NetBSD, OpenBSD, Darwin (macOS), Solaris, Windows, Cygwin, OS/2, eComStation and QNX, and it support most SATA-to-USB 3.0 chipset that support UASP like ASMT 1153e.

Example using smartctl to send standby command (-s standby,241) to a ST2000DM006-2DM164 on my UNITEK Y-1092
  1. C:\Windows\system32>smartctl -s standby,241 pd1
  2. smartctl 7.1 2019-10-19 r4975 [x86_64-w64-mingw32-w10-b18363] (CircleCI)
  3. Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

  4. === START OF ENABLE/DISABLE COMMANDS SECTION ===
  5. Standby timer set to 241 (00:30:00)
複製代碼
Getting S.M.A.R.T. HDD information (-i), hiding seral number (-q noserial), power status (-n never) and S.M.A.R.T. Data (-A).
  1. C:\Windows\system32>smartctl -i -A -n never -q noserial pd1
  2. smartctl 7.1 2019-10-19 r4975 [x86_64-w64-mingw32-w10-b18363] (CircleCI)
  3. Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

  4. === START OF INFORMATION SECTION ===
  5. Model Family:     Seagate Barracuda 3.5
  6. Device Model:     ST2000DM006-2DM164
  7. Firmware Version: CC26
  8. User Capacity:    2,000,398,934,016 bytes [2.00 TB]
  9. Sector Sizes:     512 bytes logical, 4096 bytes physical
  10. Rotation Rate:    7200 rpm
  11. Form Factor:      3.5 inches
  12. Device is:        In smartctl database [for details use: -P show]
  13. ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
  14. SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
  15. Local Time is:    Sun Apr 05 11:32:39 2020 CST
  16. SMART support is: Available - device has SMART capability.
  17. SMART support is: Enabled
  18. Power mode is:    ACTIVE or IDLE

  19. === START OF READ SMART DATA SECTION ===
  20. SMART Attributes Data Structure revision number: 10
  21. Vendor Specific SMART Attributes with Thresholds:
  22. ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  23.   1 Raw_Read_Error_Rate     0x000f   108   099   006    Pre-fail  Always       -       16645744
  24.   3 Spin_Up_Time            0x0003   097   096   000    Pre-fail  Always       -       0
  25.   4 Start_Stop_Count        0x0032   098   098   020    Old_age   Always       -       2306
  26.   5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  27.   7 Seek_Error_Rate         0x000f   067   060   030    Pre-fail  Always       -       6199847
  28.   9 Power_On_Hours          0x0032   088   088   000    Old_age   Always       -       10719
  29. 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
  30. 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       159
  31. 183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
  32. 184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
  33. 187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
  34. 188 Command_Timeout         0x0032   100   099   000    Old_age   Always       -       0 0 34
  35. 189 High_Fly_Writes         0x003a   098   098   000    Old_age   Always       -       2
  36. 190 Airflow_Temperature_Cel 0x0022   064   043   045    Old_age   Always   In_the_past 36 (0 5 38 25 0)
  37. 191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
  38. 192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       30
  39. 193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       5101
  40. 194 Temperature_Celsius     0x0022   036   057   000    Old_age   Always       -       36 (0 16 0 0 0)
  41. 197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
  42. 198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
  43. 199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       2
  44. 240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       1980h+46m+37.466s
  45. 241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       22804354660
  46. 242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       35766220250
複製代碼
Same as above, but displaying SMART data with different format (-f brief)
  1. C:\Windows\system32>smartctl -i -A -f brief -n never -q noserial pd1
  2. smartctl 7.1 2019-10-19 r4975 [x86_64-w64-mingw32-w10-b18363] (CircleCI)
  3. Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

  4. === START OF INFORMATION SECTION ===
  5. Model Family:     Seagate Barracuda 3.5
  6. Device Model:     ST2000DM006-2DM164
  7. Firmware Version: CC26
  8. User Capacity:    2,000,398,934,016 bytes [2.00 TB]
  9. Sector Sizes:     512 bytes logical, 4096 bytes physical
  10. Rotation Rate:    7200 rpm
  11. Form Factor:      3.5 inches
  12. Device is:        In smartctl database [for details use: -P show]
  13. ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
  14. SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
  15. Local Time is:    Sun Apr 05 11:43:06 2020 CST
  16. SMART support is: Available - device has SMART capability.
  17. SMART support is: Enabled
  18. Power mode is:    ACTIVE or IDLE

  19. === START OF READ SMART DATA SECTION ===
  20. SMART Attributes Data Structure revision number: 10
  21. Vendor Specific SMART Attributes with Thresholds:
  22. ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  23.   1 Raw_Read_Error_Rate     POSR--   108   099   006    -    16645744
  24.   3 Spin_Up_Time            PO----   097   096   000    -    0
  25.   4 Start_Stop_Count        -O--CK   098   098   020    -    2306
  26.   5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
  27.   7 Seek_Error_Rate         POSR--   067   060   030    -    6199847
  28.   9 Power_On_Hours          -O--CK   088   088   000    -    10719
  29. 10 Spin_Retry_Count        PO--C-   100   100   097    -    0
  30. 12 Power_Cycle_Count       -O--CK   100   100   020    -    159
  31. 183 Runtime_Bad_Block       -O--CK   100   100   000    -    0
  32. 184 End-to-End_Error        -O--CK   100   100   099    -    0
  33. 187 Reported_Uncorrect      -O--CK   100   100   000    -    0
  34. 188 Command_Timeout         -O--CK   100   099   000    -    0 0 34
  35. 189 High_Fly_Writes         -O-RCK   098   098   000    -    2
  36. 190 Airflow_Temperature_Cel -O---K   063   043   045    Past 37 (0 5 38 25 0)
  37. 191 G-Sense_Error_Rate      -O--CK   100   100   000    -    0
  38. 192 Power-Off_Retract_Count -O--CK   100   100   000    -    30
  39. 193 Load_Cycle_Count        -O--CK   098   098   000    -    5102
  40. 194 Temperature_Celsius     -O---K   037   057   000    -    37 (0 16 0 0 0)
  41. 197 Current_Pending_Sector  -O--C-   100   100   000    -    0
  42. 198 Offline_Uncorrectable   ----C-   100   100   000    -    0
  43. 199 UDMA_CRC_Error_Count    -OSRCK   200   200   000    -    2
  44. 240 Head_Flying_Hours       ------   100   253   000    -    1980h+47m+33.523s
  45. 241 Total_LBAs_Written      ------   100   253   000    -    22804354660
  46. 242 Total_LBAs_Read         ------   100   253   000    -    35766220250
  47.                             ||||||_ K auto-keep
  48.                             |||||__ C event count
  49.                             ||||___ R error rate
  50.                             |||____ S speed/performance
  51.                             ||_____ O updated online
  52.                             |______ P prefailure warning
複製代碼

作者: bongbong3481    時間: 2020-4-5 11:46

回覆 1# c007


   我覺得唔好係硬碟讀寫緊時侯玩震機就應該好長命,致於BT/斷電,暫時沒絕對證明,會快D KO 或者長命D
作者: pc1668    時間: 2020-4-5 18:45

Send ATA standby command with smartctl to instruct the HDD firmware go into standby after 30 minute ...
harryytm 發表於 2020-4-5 11:10


UNITEK Y-3355 does not support most of the smart tools out there!  The only smart tool that works (so far) is the one from https://www.hdsentinel.com/.  Even so, features related to idle timeout were not supported.
作者: harryytm    時間: 2020-4-6 04:28

本帖最後由 harryytm 於 2020-4-6 08:17 編輯
UNITEK Y-3355 does not support most of the smart tools out there!  The only smart tool that works  ...
pc1668 發表於 2020-4-5 18:45

may I know what was the error message smartctl gave you?
by the way, Smartmontools claimed to support JMicron controller
作者: astronmartin    時間: 2020-4-7 18:13

回覆 10# harryytm

Mark低先 thx
作者: kean23    時間: 2020-4-10 17:13

幾部NAS 用過幾十隻左右既harddisk, NAS 係行7x 24, 結果係隻隻唔一樣, 有啲用足6-8年都冇未死, 有啲死完RMA換一排再死, 所以係唔係長行就唔死.

結論都係長開少開都冇保證, 唔好晒精神, 索性backup多一兩份就最實際
作者: big_nature    時間: 2020-4-10 17:36

公司部server又係長行24小時,
連續10年以上都未換過HD!
(行Raid 5)
作者: dermagramso    時間: 2020-4-14 00:58

UNITEK Y-3355 does not support most of the smart tools out there!  The only smart tool that works  ...
pc1668 發表於 2020-4-5 18:45



    ching, 我都有隻3355, 但試過放4TB or 8TB toshiba, run hdtune 抄file一陣會自己斷線, 但好快又connect返, 之後試過係第二部電腦試都一樣, 你估會係咩問題? usb線? 火牛都換過了
作者: pc1668    時間: 2020-4-15 11:17

本帖最後由 pc1668 於 2020-4-15 12:08 編輯
ching, 我都有隻3355, 但試過放4TB or 8TB toshiba, run hdtune 抄file一陣會自己斷線, 但好快又con ...
dermagramso 發表於 2020-4-14 00:58


My 3355 was local hong good (warranty provided by 升科國際 http://www.centuryfield.com/) and it has been running at 24/7 for more than 3 years, very stable.  

Regarding your "抄file一陣會自己斷線, 但好快又connect ...", I had an ICYDOCK 2-bay enclosure (ICYRaid MB662U3-2S R1) suffering exactly the same problem.  After checking this and that, I have returned it to local agent.  It was mostly likely chipset issue.

Is your 3355 local hong good or taobao stock?  Assuming your USB 3 port, cable and power supply are normal (usually), I suspect there is something wrong with the chipset of your batch
作者: pc1668    時間: 2020-4-15 11:22

本帖最後由 pc1668 於 2020-4-15 14:55 編輯
may I know what was the error message smartctl gave you?
by the way, Smartmontools claimed to suppo ...
harryytm 發表於 2020-4-6 04:28


Tried the latest version of smartctl. Y-3355 accepts the timeout command without error (it needs an extra parameter -dsat).

-----> Command without -dsat :
smartctl -a /dev/pd4
or
smartctl -s standby,60 pd4

-----> Output :
smartctl 7.1 2019-12-30 r5022 [x86_64-w64-mingw32-w10-1909] (sf-7.1-1)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/pd4: USB bridge [0x152d:0x0539] type is ambiguous: '[unsupported]' or 'sat'
Please specify device type with the -d option.

Use smartctl -h to get a usage summary


-----> command with -dsat :
smartctl -s standby,60 pd4 -dsat

-----> output :
smartctl 7.1 2019-12-30 r5022 [x86_64-w64-mingw32-w10-1909] (sf-7.1-1)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
Standby timer set to 60 (00:05:00 or vendor-specific)


Even the command works (it seems), it just won't spin down (意見接受, 態度照舊 ).  It keeps running and running and running.  Anyway, I like the way it is, never spin down.  I had a WD hard drive that spinned up and down many times a day for months, at the end the Load and Unload cycle count exceeded the threshold of 300,000

"Each time hard drive enters sleep mode and resumes normal working mode the head and hard drive's wear more rapidly."
Jul 2014
https://linuxconfig.org/change-h ... e-power-consumption
作者: myricky    時間: 2020-4-15 11:53

提示: 作者被禁止或刪除 內容自動屏蔽
作者: dermagramso    時間: 2020-4-15 13:47

本帖最後由 dermagramso 於 2020-4-15 13:52 編輯
My 3355 was local hong good (warranty provided by 升科國際 ) and it has been running at 24/7 for m ...
pc1668 發表於 2020-4-15 11:17


oh..買左好多年了
升科買的, 仲要兩部都係咁
作者: pc1668    時間: 2020-4-15 14:00

oh..買左好多年了
升科買的, 仲要兩部都係咁
dermagramso 發表於 2020-4-15 13:47


Oh!  Then what model of PC/notebook are you using?
作者: dermagramso    時間: 2020-4-17 01:04

Oh!  Then what model of PC/notebook are you using?
pc1668 發表於 2020-4-15 14:00


一塊 z87底板, 另一個係dell notebook, 等我搵下有冇線再試下先, thanks :)
作者: HKenal    時間: 2020-4-17 17:06

如果Data緊要,勤力 d Backup
Hard Disk算消耗品
唔知幾時會死
主要確保 溫度,震動,供電無問題就得
其他就靠Backup
作者: 747    時間: 2020-4-20 10:14

backup 去cloud 就算,好過自己攪





歡迎光臨 電腦領域 HKEPC Hardware (https://h0.hkepc.com/forum/) Powered by Discuz! 7.2