我启动时出现此问题。当我按照手册操作时,fsck
它说它更改了驱动器的内容。有没有办法知道哪些文件受到影响?
系统运行的是 Ubuntu 20.04,这是我自己安装的 SSD,已经使用了几年。
以下是部分输出sudo smartctl -a /dev/sda
:
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 0x0032 000 100 000 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3588
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 3007
148 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 4
149 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
167 Write_Protect_Mode 0x0000 100 100 000 Old_age Offline - 0
168 SATA_Phy_Error_Count 0x0012 100 100 000 Old_age Always - 0
169 Bad_Block_Rate 0x0000 100 100 000 Old_age Offline - 11
170 Bad_Blk_Ct_Erl/Lat 0x0000 100 100 010 Old_age Offline - 0/8
172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0
173 MaxAvgErase_Ct 0x0000 100 100 000 Old_age Offline - 74 (Average 31)
181 Program_Fail_Count 0x0032 100 100 000 Old_age Always - 0
182 Erase_Fail_Count 0x0000 100 100 000 Old_age Offline - 2
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
192 Unsafe_Shutdown_Count 0x0012 100 100 000 Old_age Always - 1599
194 Temperature_Celsius 0x0022 070 064 000 Old_age Always - 30 (Min/Max 19/36)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 2
199 SATA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
218 CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
231 SSD_Life_Left 0x0000 004 004 000 Old_age Offline - 96
233 Flash_Writes_GiB 0x0032 100 100 000 Old_age Always - 5119
241 Lifetime_Writes_GiB 0x0032 100 100 000 Old_age Always - 3115
242 Lifetime_Reads_GiB 0x0032 100 100 000 Old_age Always - 2161
244 Average_Erase_Count 0x0000 100 100 000 Old_age Offline - 31
245 Max_Erase_Count 0x0000 100 100 000 Old_age Offline - 74
246 Total_Erase_Count 0x0000 100 100 000 Old_age Offline - 242464
SMART Error Log Version: 1
No Errors Logged
答案1
这种错误是文件系统不一致。根本原因可能是驱动器级错误,但这不是最常见的错误。
一个典型的原因可能是由于电源故障而突然关机(但也有其他可能的原因)。
所以我不会担心驱动器...也就是说,不时监控 SMART 状态总是好的。