我的硬盘驱动器似乎有问题,但我不确定是什么,或如何继续。任何问题的第一个迹象是:
我尝试在我的服务器上创建一个新目录,但是当我这样做时,它挂了大约 30 秒,然后给出了这个错误:
root@smallgames:~# mkdir derpherp
mkdir: cannot create directory `derpherp': Input/output error
Message from syslogd@smallgames at May 1 18:09:17 ...
kernel:[8731601.569393] journal commit I/O error
Run Code Online (Sandbox Code Playgroud)
然后我尝试运行fsck:
root@smallgames:~# fsck
fsck from util-linux 2.20.1
e2fsck 1.41.12 (17-May-2010)
/dev/vda1: recovering journal
fsck.ext3: Bad magic number in super-block while trying to re-open /dev/vda1
e2fsck: io manager magic bad!
Run Code Online (Sandbox Code Playgroud)
再次运行它会给出:
root@smallgames:~# fsck
fsck from util-linux 2.20.1
fsck.ext3: Unable to resolve 'UUID=e4565c70-2bcd-40c8-ac8a-dab5bab4167c'
Run Code Online (Sandbox Code Playgroud)
现在在任何东西上运行 ls 都会给我一个空目录。这是在 Proxmox 的 VM 中运行的 Debian。
dmesg在主服务器上运行提供了很多这些: …