ccj67 Posted July 29, 2023 Share Posted July 29, 2023 Libvirt 服务无法启动. 看日志提示 Jul 30 06:09:31 Tower emhttpd: shcmd (60): /usr/local/sbin/mount_image '/mnt/user/system/libvirt/libvirt.img' /etc/libvirt 1 Jul 30 06:09:31 Tower kernel: BTRFS: device fsid f18137a8-f805-4779-aa67-c041154e6ece devid 1 transid 553 /dev/loop2 scanned by udevd (3622) Jul 30 06:09:31 Tower kernel: BTRFS info (device loop2): using free space tree Jul 30 06:09:31 Tower kernel: BTRFS info (device loop2): has skinny extents Jul 30 06:09:31 Tower kernel: BTRFS error (device loop2): bad tree block start, want 22036480 have 0 ### [PREVIOUS LINE REPEATED 1 TIMES] ### Jul 30 06:09:31 Tower kernel: BTRFS error (device loop2): failed to read chunk root Jul 30 06:09:31 Tower kernel: BTRFS error (device loop2): open_ctree failed Jul 30 06:09:31 Tower root: mount: /etc/libvirt: wrong fs type, bad option, bad superblock on /dev/loop2, missing codepage or helper program, or other error. Jul 30 06:09:31 Tower root: mount error tower-diagnostics-20230730-0640.zip Quote Link to comment
ccj67 Posted July 30, 2023 Author Share Posted July 30, 2023 能把Libvirt.img文件删了重建吗? 会有什么影响 Quote Link to comment
Solution pzg417 Posted July 30, 2023 Solution Share Posted July 30, 2023 2 hours ago, ccj67 said: 能把Libvirt.img文件删了重建吗? 会有什么影响 可以 影响就是虚拟机的配置都没了 Quote Link to comment
ccj67 Posted July 30, 2023 Author Share Posted July 30, 2023 21 minutes ago, pzg417 said: 可以影响的就是虚拟机的配置都没有了 是把后面的删除映像文件打钩点应用吗? 我目前备份了虚拟机的.img文件以及.xml,不知能否根据这两个文件恢复虚拟机 Quote Link to comment
ccj67 Posted July 30, 2023 Author Share Posted July 30, 2023 1,把后面的删除映像文件打钩点应用 2,关闭虚拟机服务 3,重启虚拟机服务 4,重新添加虚拟机,并把xml导入 还好之前备份了xml,出问题时没办法备份xml,还不知这个xml文件是存在哪个目录下 Quote Link to comment
pzg417 Posted July 30, 2023 Share Posted July 30, 2023 2 hours ago, ccj67 said: 1,把后面的删除映像文件打钩点应用 2,关闭虚拟机服务 3,重启虚拟机服务 4,重新添加虚拟机,并把xml导入 还好之前备份了xml,出问题时没办法备份xml,还不知这个xml文件是存在哪个目录下 不好意思哦 我没有恢复过虚拟机备份呢 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.