EXT4-fs 错误(设备 dm-0):ext4_lookup:1590

EXT4-fs 错误(设备 dm-0):ext4_lookup:1590

系统信息

root@steveguan-1:~# uname -a
Linux steveguan-1 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@steveguan-1:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

我所做的操作导致了问题

我将一个 vmware 实例导入并行,并在并行将 vmware 实例转换为以 .pvm 后缀结尾的对象后,出现了此问题。

现象

我无法docker ps在我的虚拟机中运行,并且失败并显示以下消息

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

我尝试过的事情

我尝试启动 docker 但失败了,如下所示

root@steveguan-1:~# systemctl start docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

详细信息如下

-- The start-up result is RESULT.
Aug 29 22:28:13 steveguan-1 systemd[1]: docker.service: Start request repeated too quickly.
Aug 29 22:28:13 steveguan-1 systemd[1]: docker.service: Failed with result 'exit-code'.
Aug 29 22:28:13 steveguan-1 systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has failed.
--
-- The result is RESULT.
Aug 29 22:28:13 steveguan-1 systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.

我用谷歌搜索并按照以下说明进行操作https://askubuntu.com/questions/1089310/how-to-resolve-service-start-limit-hitsystemctl restart docker它也失败了,systemctl status docker我输入了很多详细的错误消息,如下所示

Aug 29 22:36:35 steveguan-1 dockerd[3050]: unable to configure the Docker daemon with file /etc/docker/daemon.json: open /etc/docker/daemon.json: bad message
Aug 29 22:36:35 steveguan-1 kernel: EXT4-fs error (device dm-0): ext4_lookup:1590: inode #2495068: comm dockerd: iget: checksum invalid
Aug 29 22:36:35 steveguan-1 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Aug 29 22:36:35 steveguan-1 systemd[1]: docker.service: Failed with result 'exit-code'.
Aug 29 22:36:35 steveguan-1 systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has failed.
--
-- The result is RESULT.

虽然我用谷歌搜索了很多,但没有kernel: EXT4-fs error (device dm-0): ext4_lookup:1590准确匹配的结果。

更重要的是,当我输入dmesg它时,它会显示如下错误日志

[ 3808.842375] EXT4-fs error (device dm-0): ext4_lookup:1590: inode #2493025: comm cloud-id: iget: checksum invalid
[ 3808.843199] EXT4-fs error (device dm-0): ext4_lookup:1590: inode #2493025: comm cloud-id: iget: checksum invalid
[ 3808.844807] EXT4-fs error (device dm-0): ext4_lookup:1590: inode #2492995: comm cloud-id: iget: checksum invalid
[ 3808.845285] EXT4-fs error (device dm-0): ext4_lookup:1590: inode #2492995: comm cloud-id: iget: checksum invalid
[ 3808.845848] EXT4-fs error (device dm-0): ext4_lookup:1590: inode #2492809: comm cloud-id: iget: checksum invalid
[ 3808.846202] EXT4-fs error (device dm-0): ext4_lookup:1590: inode #2492809: comm cloud-id: iget: checksum invalid

提前致谢!!!

答案1

iget: checksum invalid消息意味着您的文件系统已损坏。您应该对其运行 e2fsck。

相关内容