我遇到了一个奇怪的问题,一个损坏的内核映像在卸载时损坏了。这看起来像是硬盘错误 - 但我并不是 100% 确定。
我也许可以忽略它,但由于它与已安装的 Linux 映像相关,我无法再删除该映像。apt upgrade
现在运行返回:
Fetched 54,0 MB in 9s (5.581 kB/s)
(Reading database ... 652815 files and directories currently installed.)
Removing linux-image-4.14.13-041413-generic (4.14.13-041413.201801101001) ...
dpkg: error processing package linux-image-4.14.13-041413-generic (--remove):
unable to securely remove '/lib/modules/4.14.13-041413-generic/kernel/fs/ntfs/ntfs.ko.dpkg-tmp': Input/output error
Errors were encountered while processing:
linux-image-4.14.13-041413-generic
然后简单地中止升级。我无法停止尝试删除此软件包,尽管社区提供了任何建议。总是弹出输入/输出错误。我尝试在 SSD 上运行 smartmontools(它是一个 nvme 设备),但它根本没有返回任何内容。即使我使用的是最新版本的 smartmontools,它甚至无法真正识别该设备(未知型号)。任何建议都将不胜感激 - 我可能很快就会将 SSD 发送给卖家,因为我无法处理这种损坏的状态。
dmesg:
[ 7505.464153] BTRFS error (device dm-0): bdev /dev/dm-0 errs: wr 0, rd 0, flush 0, corrupt 0, gen 4
[ 7505.464156] BTRFS error (device dm-0): unable to fixup (regular) error at logical 49416634368 on dev /dev/dm-0
[ 7505.464159] BTRFS error (device dm-0): bdev /dev/dm-0 errs: wr 0, rd 0, flush 0, corrupt 0, gen 5
[ 7505.464160] BTRFS error (device dm-0): unable to fixup (regular) error at logical 49416552448 on dev /dev/dm-0
[ 7505.465547] BTRFS warning (device dm-0): checksum/header error at logical 49416962048 on dev /dev/dm-0, sector 44088704: metadata leaf (level 0) in tree 257
[ 7505.465549] BTRFS warning (device dm-0): checksum/header error at logical 49416962048 on dev /dev/dm-0, sector 44088704: metadata leaf (level 0) in tree 257
[ 7505.465551] BTRFS error (device dm-0): bdev /dev/dm-0 errs: wr 0, rd 0, flush 0, corrupt 0, gen 6
[ 7505.465554] BTRFS error (device dm-0): unable to fixup (regular) error at logical 49416962048 on dev /dev/dm-0
[ 7611.150366] BTRFS error (device dm-0): parent transid verify failed on 49416634368 wanted 192617 found 340661
[ 7611.150569] BTRFS error (device dm-0): parent transid verify failed on 49416634368 wanted 192617 found 340661
[ 7616.836634] BTRFS error (device dm-0): parent transid verify failed on 49416634368 wanted 192617 found 340661
[ 7616.836837] BTRFS error (device dm-0): parent transid verify failed on 49416634368 wanted 192617 found 340661
btrfs 清理:
scrub status for 59deeb9a-a07e-4aaa-91d6-dd5a12d7959c
scrub started at Wed Feb 14 08:50:48 2018 and finished after 00:00:08
total bytes scrubbed: 22.60GiB with 3 errors
error details: verify=3
corrected errors: 0, uncorrectable errors: 3, unverified errors: 0