问题:群晖7.2.1居然取消了查看SMART功能
最近群晖升级系统到7.2.1,存储管理器看不到SMART信息了,搜索了一下原来是群晖取消了在UI查看SMART功能,没搞明白一个NAS最重要的部件硬盘的信息不让用户去看。现在只能切到ssh用smartctl命令行工具来看了,并且用命令行也看不了SSD的SMART。
解决办法:
ssh后sudo -i用root用户运行 smartctl -a -d sat /dev/sd*,星号处按abcd的顺序是1-4号盘位,就会在命令行显示smart数据了,麻烦了不少。
群晖官宣
Storage Manager will no longer display S.M.A.R.T. attributes after DSM 7.2.1-69057.
DSM
After the update 7.2.1-69057, Storage Manager also brought an update. However, it is unfortunate that Synology decided to no longer record or display S.M.A.R.T. attributes.
This is another bad update, following the previous one that hid hard drive bad sector information from the overview. Why does Synology keep hiding critical information about hard drives?
博主亲测:
smartctl -a -d sat /dev/sd*
smartctl 6.5 (build date Sep 26 2022) [aarch64-linux-4.4.302+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
ERROR: smartctl takes ONE device name as the final command-line argument.
You have provided 4 device names:
/dev/sdb
/dev/sdb1
/dev/sdb2
/dev/sdb5
Use smartctl -h to get a usage summary
root@218:~# smartctl -a -d sat /dev/sd2
smartctl 6.5 (build date Sep 26 2022) [aarch64-linux-4.4.302+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sd2 [SAT] failed: No such device
root@218:~# smartctl -a -d sat /dev/sdb
smartctl 6.5 (build date Sep 26 2022) [aarch64-linux-4.4.302+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: MG08
Device Model: TOSHIBA MG08ACA16TE
Serial Number: ****************
LU WWN Device Id:***************
Firmware Version: 4305
User Capacity: 16,000,900,661,248 bytes [16.0 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-3 T13/2161-D revision 5
SATA Version is: SATA >3.2 (0x1ff), 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Aug 5 20:54:26 2024 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: (1445) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre- fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre- fail Offline - 0
3 Spin-up_Time 0x0027 100 100 001 Pre- fail Always - 8131
4 Start/Stop_Count 0x0032 100 100 000 Old_ age Always - 27
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre- fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre- fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre- fail Offline - 0
9 Power-on_Hours 0x0032 100 100 000 Old_ age Always - 120
10 Spin_Retry_Count 0x0033 100 100 030 Pre- fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_ age Always - 27
23 HE_Condition-1 0x0023 100 100 075 Pre- fail Always - 0
24 HE_Condition-2 0x0023 100 100 075 Pre- fail Always - 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 - 0
193 Load_Cycle_Count 0x0032 100 100 000 Old_ age Always - 29
194 Temperature_Celsius 0x0022 100 100 000 Old_ age Always - 32 (Min/Max 25/40)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_ age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_ age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_ age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_ age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_ age Always - 35389442
222 Loaded_Hours 0x0032 100 100 000 Old_ age Always - 119
223 Load_Retry_Count 0x0032 100 100 000 Old_ age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_ age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_ age Always - 592
240 Head_Flying_Hours 0x0001 100 100 001 Pre- fail Offline - 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 Short offline Completed without error 00% 113 -
# 2 Short offline Completed without error 00% 46 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Some excerpt from Release Notes for Storage Manager
S.M.A.R.T. attributes are no longer recorded or displayed.
Removed support for Western Digital Device Analytics (WDDA).
....
===
As an alternative, you can use the CLI to view the S.M.A.R.T. In GUI you can also use the task scheduler to execute.
SATA: sudo smartctl -a -d sat /dev/sata1
NVME: sudo nvme smart-log /dev/nvme0
(Adjust the drive number as required.)
参考信息
https://www.chiphell.com/thread-2554826-1-1.html