![文件系统重复只读](https://linux22.com/image/14155/%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E9%87%8D%E5%A4%8D%E5%8F%AA%E8%AF%BB.png)
我在 Dell Latitude E7470 笔记本电脑和 LITEON CV3-8D128 SSD 上使用了 4 年多的 Ubuntu 20.04.2 系统现在在使用大约 15 分钟后切换为只读。
症状是:
- 由于“输入输出错误”,所有命令都失败
- 所有图标消失
- 基本上什么都不起作用
- 有时桌面甚至消失,控制台打印“systemd-journald:无法写入条目,忽略:只读文件系统”。
我累的是什么:
- 救援模式:我不能,
fsck -f /dev/sda6
因为据说它是“已安装”(或当我尝试卸载时为“活动”) - Live USB:我经常看不到整个 SSD 又名
/dev/sda
,parted
甚至lshw
不能真正看到fsck
- 双启动Windows:我从不使用这个分区,但有趣的是我可以
sda6
从我的Windows双启动中看到该分区(并恢复数据)。
看起来是硬件故障吗?我在启动 Windows 时可以读取整个磁盘,但可能存在写入错误,导致系统在 Linux 下切换到 RO 模式?
多谢 !
编辑:
我刚刚在附近的另一个分区(位于同一个 SSD 上)安装了一个新系统(Ubuntu),似乎没问题:过去 24 小时没有问题,而另一个系统在大约半小时内出现故障。
SMART 价值观来自smartctl
:
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.8.0-43-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: LITEON CV3-8D128-11 SATA 128GB
Serial Number: TW0WVD605508566U0BSM
LU WWN Device Id: 5 002303 100a14a70
Firmware Version: T87110B
User Capacity: 128,035,676,160 bytes [128 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA8-ACS, ATA/ATAPI-7 T13/1532D revision 4a
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Apr 6 12:43:43 2021 UTC
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: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: ( 10) seconds.
Offline data collection
capabilities: (0x15) SMART execute Offline immediate.
No Auto Offline data collection support.
Abort Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No 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: ( 11) 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: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0003 100 100 000 Pre-fail Always - 0
9 Power_On_Hours 0x0002 100 100 000 Old_age Always - 11705
12 Power_Cycle_Count 0x0003 100 100 000 Pre-fail Always - 556
175 Program_Fail_Count_Chip 0x0003 100 100 000 Pre-fail Always - 0
176 Erase_Fail_Count_Chip 0x0003 100 100 000 Pre-fail Always - 0
177 Wear_Leveling_Count 0x0003 100 100 000 Pre-fail Always - 334815
178 Used_Rsvd_Blk_Cnt_Chip 0x0003 100 100 000 Pre-fail Always - 0
179 Used_Rsvd_Blk_Cnt_Tot 0x0003 100 100 000 Pre-fail Always - 0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0033 100 100 005 Pre-fail Always - 568
181 Program_Fail_Cnt_Total 0x0003 100 100 000 Pre-fail Always - 0
182 Erase_Fail_Count_Total 0x0003 100 100 000 Pre-fail Always - 0
187 Reported_Uncorrect 0x0003 100 100 000 Pre-fail Always - 0
194 Temperature_Celsius 0x0003 100 100 000 Pre-fail Always - 43
195 Hardware_ECC_Recovered 0x0003 100 100 000 Pre-fail Always - 0
199 UDMA_CRC_Error_Count 0x0003 100 100 000 Pre-fail Always - 8
238 Unknown_Attribute 0x0003 088 100 000 Pre-fail Always - 12
241 Total_LBAs_Written 0x0003 100 100 000 Pre-fail Always - 27453
242 Total_LBAs_Read 0x0003 100 100 000 Pre-fail Always - 78550
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% 11696 -
# 2 Short offline Completed without error 00% 2 -
Selective Self-tests/Logging not supported