我应该换SSD吗?

我应该换SSD吗?

Demsg 显示了这一点

EXT4-fs error (device sda1): ext4_ext_get_blocks: inode #7743113: (comm
flush-8:0) bad extent address iblock: 3503, depth: 1 pblock 0
EXT4-fs (sda1): delayed block allocation failed for inode 7743113 at logical
offset 3503 with max blocks 1 with error -5

This should not happen!!  Data will be lost
EXT4-fs error (device sda1): ext4_ext_get_blocks: inode #7743113: (comm
flush-8:0) bad extent address iblock: 3509, depth: 1 pblock 0
EXT4-fs (sda1): delayed block allocation failed for inode 7743113 at logical
offset 3509 with max blocks 2 with error -5

This should not happen!!  Data will be lost
EXT4-fs error (device sda1): ext4_ext_get_blocks: inode #7743113: (comm
flush-8:0) bad extent address iblock: 3513, depth: 1 pblock 0
EXT4-fs (sda1): delayed block allocation failed for inode 7743113 at logical
offset 3513 with max blocks 1 with error -5

This should not happen!!  Data will be lost
EXT4-fs error (device sda1): ext4_ext_get_blocks: inode #7743113: (comm
flush-8:0) bad extent address iblock: 3519, depth: 1 pblock 0
EXT4-fs (sda1): delayed block allocation failed for inode 7743113 at logical
offset 3519 with max blocks 1 with error -5

This should not happen!!  Data will be lost
EXT4-fs error (device sda1): ext4_ext_get_blocks: inode #7743113: (comm
flush-8:0) bad extent address iblock: 3525, depth: 1 pblock 0
EXT4-fs (sda1): delayed block allocation failed for inode 7743113 at logical
offset 3525 with max blocks 1 with error -5

This should not happen!!  Data will be lost
EXT4-fs error (device sda1): ext4_ext_get_blocks: inode #7743113: (comm
flush-8:0) bad extent address iblock: 3528, depth: 1 pblock 0
EXT4-fs (sda1): delayed block allocation failed for inode 7743113 at logical
offset 3528 with max blocks 1 with error -5

This should not happen!!  Data will be lost
possible SYN flooding on port 80. Sending cookies.
EXT4-fs error (device sda1): ext4_ext_get_blocks: inode #7743113: (comm
flush-8:0) bad extent address iblock: 3529, depth: 1 pblock 0
EXT4-fs (sda1): delayed block allocation failed for inode 7743113 at logical
offset 3529 with max blocks 3 with error -5

This should not happen!!  Data will be lost

我也不能用磁盘做很多事情。简单的命令如

失败

root@host [/home1]# rm -rf cprestore
rm: cannot remove
`cprestore/home4/site/public_html/hello/cache/site.com/http%3A%2F%2Fsite.com%2Fh%2F20019%2Fszh%2F%25E6%25B1%2589%25E5%258F%25A3%25E4%25B8%25AD%25E5%258D%258E%25E5%2585%25A8%25E5%259B%25BD%25E6%2580%25BB%25E5%25B7%25A5%25E4%25BC%259A%25E6%2597%25A7%25E5%259D%2580':
Input/output error
rm: cannot remove
`cprestore/home4/site/public_html/hello/cache/site.com/http%3A%2F%2Fsite.com%2Ft%2Ffoo%2Fszh%2F%25D7%25A7%25D7%2598%25D7%2592%25D7%2595%25D7%25A8%25D7%2599%25D7%2594%3A%25D7%2590%25D7%2595%25D7%25A0%25D7%2599%25D7%2595%25D7%25AA_%25D7%259E%25D7%25A2%25D7%25A4%25D7%2599%25D7%259C%25D7%2599%25D':
Input/output error
rm: cannot remove
`cprestore/home4/site/public_html/hello/cache/site.com/http%3A%2F%2Fsite.com%2Fp%2F%25E9%259F%25A9%25E6%2588%2590%25E7%258F%25A0%25E4%25B8%258D%25E9%259B%2585%25E8%25A7%2586%25E9%25A2%2591%25E5%25AE%258C%25E6%2595%25B4%25E7%2589%2588%2Fszh%2F1':
Input/output error

我的fstab是这样的:

#
# /etc/fstab
# Created by anaconda on Wed Nov  1 00:29:46 2000
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=9fac7ae7-9948-4612-88dc-e652fc4ceb73 /                       ext4    defaults        1 1
UUID=1daa52c7-a5da-464d-a4c7-2ee19ef017af /boot                   ext3    defaults        1 2
UUID=12649fb1-fd53-4558-8a2a-79692ada8b19 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/usr/tmpDSK             /tmp                    ext3    defaults,noauto        0 0
/dev/sda1               /home1                  auto    auto,noatime,defaults        0 2
/dev/sdb1               /home2                  auto    auto,noatime,defaults        0 2
/dev/sdc1               /home3                  auto    auto,noatime,defaults        0 2

如你所见,我每次重启都会检查

我的提供商说他做了一些 fchk,现在它又开始运行了。然而,这种情况已经发生过好几次了。每次发生这种事都会让我付出很大的代价。我想知道这是硬件还是软件?

答案1

您可能想使用smartctl它来访问聪明的在驱动器上。它有很多选项,其中一些是针对 SSD 的特殊选项,因此请阅读其手册页。一般来说,如果您的驱动器报告硬件错误,则需要备份(如果您还没有这样做)并更换它 - 今天的硬盘驱动器有足够的备用空间用于坏块重新分配,因此如果它报告问题,则很可能该缓冲区已被使用(或者驱动器出现其他问题)。但这并不一定意味着该驱动器没有其他用途(除了桌子的垫板之外)。

答案2

在大多数发行版上,您可以从命令行使用 fsck 立即进行磁盘检查 /sbin/fsck。例如:

% sudo /sbin/fsck -t ext4 /dev/sda1

警告:首先卸载文件系统!输入man fsck并阅读它以获取更多信息。

有时,这种检查看似可以通过驱动器创造奇迹,但不要屏住呼吸。这似乎是一个坏驱动器。根据我的经验,SSD 不太可靠。

相关内容