本帖最後由 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- C:\Windows\system32>smartctl -s standby,241 pd1
- smartctl 7.1 2019-10-19 r4975 [x86_64-w64-mingw32-w10-b18363] (CircleCI)
- Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
- === START OF ENABLE/DISABLE COMMANDS SECTION ===
- 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).- C:\Windows\system32>smartctl -i -A -n never -q noserial pd1
- smartctl 7.1 2019-10-19 r4975 [x86_64-w64-mingw32-w10-b18363] (CircleCI)
- Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
- === START OF INFORMATION SECTION ===
- Model Family: Seagate Barracuda 3.5
- Device Model: ST2000DM006-2DM164
- Firmware Version: CC26
- User Capacity: 2,000,398,934,016 bytes [2.00 TB]
- Sector Sizes: 512 bytes logical, 4096 bytes physical
- Rotation Rate: 7200 rpm
- Form Factor: 3.5 inches
- Device is: In smartctl database [for details use: -P show]
- 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: Sun Apr 05 11:32:39 2020 CST
- SMART support is: Available - device has SMART capability.
- SMART support is: Enabled
- Power mode is: ACTIVE or IDLE
- === START OF READ SMART DATA SECTION ===
- 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 108 099 006 Pre-fail Always - 16645744
- 3 Spin_Up_Time 0x0003 097 096 000 Pre-fail Always - 0
- 4 Start_Stop_Count 0x0032 098 098 020 Old_age Always - 2306
- 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
- 7 Seek_Error_Rate 0x000f 067 060 030 Pre-fail Always - 6199847
- 9 Power_On_Hours 0x0032 088 088 000 Old_age Always - 10719
- 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
- 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 159
- 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
- 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 099 000 Old_age Always - 0 0 34
- 189 High_Fly_Writes 0x003a 098 098 000 Old_age Always - 2
- 190 Airflow_Temperature_Cel 0x0022 064 043 045 Old_age Always In_the_past 36 (0 5 38 25 0)
- 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
- 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 30
- 193 Load_Cycle_Count 0x0032 098 098 000 Old_age Always - 5101
- 194 Temperature_Celsius 0x0022 036 057 000 Old_age Always - 36 (0 16 0 0 0)
- 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 - 2
- 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 1980h+46m+37.466s
- 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 22804354660
- 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 35766220250
複製代碼 Same as above, but displaying SMART data with different format (-f brief)- C:\Windows\system32>smartctl -i -A -f brief -n never -q noserial pd1
- smartctl 7.1 2019-10-19 r4975 [x86_64-w64-mingw32-w10-b18363] (CircleCI)
- Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
- === START OF INFORMATION SECTION ===
- Model Family: Seagate Barracuda 3.5
- Device Model: ST2000DM006-2DM164
- Firmware Version: CC26
- User Capacity: 2,000,398,934,016 bytes [2.00 TB]
- Sector Sizes: 512 bytes logical, 4096 bytes physical
- Rotation Rate: 7200 rpm
- Form Factor: 3.5 inches
- Device is: In smartctl database [for details use: -P show]
- 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: Sun Apr 05 11:43:06 2020 CST
- SMART support is: Available - device has SMART capability.
- SMART support is: Enabled
- Power mode is: ACTIVE or IDLE
- === START OF READ SMART DATA SECTION ===
- SMART Attributes Data Structure revision number: 10
- Vendor Specific SMART Attributes with Thresholds:
- ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
- 1 Raw_Read_Error_Rate POSR-- 108 099 006 - 16645744
- 3 Spin_Up_Time PO---- 097 096 000 - 0
- 4 Start_Stop_Count -O--CK 098 098 020 - 2306
- 5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0
- 7 Seek_Error_Rate POSR-- 067 060 030 - 6199847
- 9 Power_On_Hours -O--CK 088 088 000 - 10719
- 10 Spin_Retry_Count PO--C- 100 100 097 - 0
- 12 Power_Cycle_Count -O--CK 100 100 020 - 159
- 183 Runtime_Bad_Block -O--CK 100 100 000 - 0
- 184 End-to-End_Error -O--CK 100 100 099 - 0
- 187 Reported_Uncorrect -O--CK 100 100 000 - 0
- 188 Command_Timeout -O--CK 100 099 000 - 0 0 34
- 189 High_Fly_Writes -O-RCK 098 098 000 - 2
- 190 Airflow_Temperature_Cel -O---K 063 043 045 Past 37 (0 5 38 25 0)
- 191 G-Sense_Error_Rate -O--CK 100 100 000 - 0
- 192 Power-Off_Retract_Count -O--CK 100 100 000 - 30
- 193 Load_Cycle_Count -O--CK 098 098 000 - 5102
- 194 Temperature_Celsius -O---K 037 057 000 - 37 (0 16 0 0 0)
- 197 Current_Pending_Sector -O--C- 100 100 000 - 0
- 198 Offline_Uncorrectable ----C- 100 100 000 - 0
- 199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 2
- 240 Head_Flying_Hours ------ 100 253 000 - 1980h+47m+33.523s
- 241 Total_LBAs_Written ------ 100 253 000 - 22804354660
- 242 Total_LBAs_Read ------ 100 253 000 - 35766220250
- ||||||_ K auto-keep
- |||||__ C event count
- ||||___ R error rate
- |||____ S speed/performance
- ||_____ O updated online
- |______ P prefailure warning
複製代碼 |