January 11, 20251 yr After upgrading to version 7.0, why did I lose my docker and VMs? How do I recover them?
January 11, 20251 yr Author 3 hours ago, JorgeB said: Please post the diagnostics. Please help me check.
January 11, 20251 yr Community Expert Both the docker and libvirt images are new, for docker, try just recreating the docker image, assuming appdata is there it will reinstall all the apps, for the VMs, see if there's a duplicate image, post the full output from: find /mnt -name libvirt.img
January 11, 20251 yr Author 22 minutes ago, JorgeB said: Both the docker and libvirt images are new, for docker, try just recreating the docker image, assuming appdata is there it will reinstall all the apps, for the VMs, see if there's a duplicate image, post the full output from: docker 和 libvirt 镜像都是新的,对于 docker,尝试重新创建 docker 镜像,假设 appdata 存在,它将重新安装所有应用程序,对于虚拟机,查看是否有重复的镜像,发布完整输出: find /mnt -name libvirt.img root@Tower:~# find /mnt -name libvirt.img /mnt/disk2/system/libvirt/libvirt.img /mnt/cache/system/libvirt/libvirt.img /mnt/user0/system/libvirt/libvirt.img /mnt/user/system/libvirt/libvirt.img
January 11, 20251 yr Community Expert Solution There are two, see which one has the older date, and that's probably the one you want, adjust the path to that one, or just rename the newer one to libvirt.bak (with the VM service stopped), and when you restart it, it will use the other one. If I had to guess, the one on disk2 is the one you want, since it should be using the one on cache
January 11, 20251 yr Author 7 minutes ago, JorgeB said: There are two, see which one has the older date, and that's probably the one you want, adjust the path to that one, or just rename the newer one to libvirt.bak (with the VM service stopped), and when you restart it, it will use the other one. 有两个,看看哪一个日期较旧,这可能就是您想要的,调整该路径的路径,或者将较新的名称重命名为 libvirt.bak(VM 服务已停止),然后重新启动它,它将使用另一个。 If I had to guess, the one on disk2 is the one you want, since it should be using the one on cache 如果我不得不猜测,disk2 上的那个就是您想要的,因为它应该使用缓存上的那个 Yes, /mnt/cache/system/libvirt/libvirt.img is correct, the virtual machine is back, thank you Should /mnt/disk2/system/libvirt/libvirt.img.bak be deleted? By the way, I have a question. After upgrading to 7.0, I want to change the file system of the cache device pool from btrfs to zfs. Will this cause data loss?
January 11, 20251 yr Community Expert 1 hour ago, Junway said: I want to change the file system of the cache device pool from btrfs to zfs. Will this cause data loss? Changing the file system involves reformatting erasing any existing content. To avoid data loss you first need to move any data elsewhere and move it back afterwards.
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.