I dissolved the cluster and my ZFS was unmounted, now I don't see the VM's

jigassa

New Member
Jun 16, 2022
1
0
1
Hi, I hate being new to a forum and starting with a question.

But when he dissolved the cluster, the ZFS was unmounted, I remounted it from the Datacenter, but I can't find how to load the "disks" in new VMs or, if possible, in the old ones.

My last backup is not a good option because it is from May 27 and I would prefer to recover the image, since when looking for it in /dev/ZFS it shows me that the units still exist, but without any format, I attach an example

root@virtual:/dev/ZFS# ls -ls
total 0
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-100-disk-0 -> ../zd192
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-100-disk-0-part1 -> ../zd192p1
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-100-disk-0-part2 -> ../zd192p2
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-100-disk-0-part3 -> ../zd192p3
0 lrwxrwxrwx 1 root root 6 Jun 15 18:25 vm-101-disk-0 -> ../zd0
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-101-disk-0-part1 -> ../zd0p1
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-101-disk-0-part2 -> ../zd0p2
0 lrwxrwxrwx 1 root root 8 Jun 15 18:54 vm-101-disk-1 -> ../zd224
0 lrwxrwxrwx 1 root root 10 Jun 15 18:54 vm-101-disk-1-part1 -> ../zd224p1
0 lrwxrwxrwx 1 root root 10 Jun 15 18:54 vm-101-disk-1-part2 -> ../zd224p2
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-102-disk-0 -> ../zd208
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-102-disk-0-part1 -> ../zd208p1
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-102-disk-0-part2 -> ../zd208p2
0 lrwxrwxrwx 1 root root 7 Jun 15 18:25 vm-103-disk-0 -> ../zd48
0 lrwxrwxrwx 1 root root 9 Jun 15 18:25 vm-103-disk-0-part1 -> ../zd48p1
0 lrwxrwxrwx 1 root root 9 Jun 15 18:25 vm-103-disk-0-part2 -> ../zd48p2
0 lrwxrwxrwx 1 root root 9 Jun 15 18:25 vm-103-disk-0-part3 -> ../zd48p3
0 lrwxrwxrwx 1 root root 7 Jun 15 18:25 vm-103-state-instalarLAMP -> ../zd80
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-104-disk-0 -> ../zd144
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-104-disk-0-part1 -> ../zd144p1
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-104-disk-0-part2 -> ../zd144p2
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-104-disk-0-part3 -> ../zd144p3
0 lrwxrwxrwx 1 root root 7 Jun 15 18:25 vm-105-disk-0 -> ../zd96
0 lrwxrwxrwx 1 root root 9 Jun 15 18:25 vm-105-disk-0-part1 -> ../zd96p1
0 lrwxrwxrwx 1 root root 9 Jun 15 18:25 vm-105-disk-0-part2 -> ../zd96p2
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-106-disk-0 -> ../zd176
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-106-disk-0-part1 -> ../zd176p1
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-106-disk-0-part2 -> ../zd176p2
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-106-disk-0-part3 -> ../zd176p3
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-107-disk-0 -> ../zd128
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-107-disk-0-part1 -> ../zd128p1
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-107-disk-0-part2 -> ../zd128p2
0 lrwxrwxrwx 1 root root 7 Jun 15 18:25 vm-108-disk-0 -> ../zd64
0 lrwxrwxrwx 1 root root 9 Jun 15 18:25 vm-108-disk-0-part1 -> ../zd64p1
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-108-state-suspend-2022-06-15 -> ../zd160
0 lrwxrwxrwx 1 root root 8 Jun 15 19:02 vm-110-disk-0 -> ../zd240
0 lrwxrwxrwx 1 root root 7 Jun 15 18:25 vm-110-disk-1 -> ../zd16
0 lrwxrwxrwx 1 root root 9 Jun 15 18:25 vm-110-disk-1-part1 -> ../zd16p1
0 lrwxrwxrwx 1 root root 9 Jun 15 18:25 vm-110-disk-1-part2 -> ../zd16p2
0 lrwxrwxrwx 1 root root 7 Jun 15 18:25 vm-110-state-Alafecha -> ../zd32
0 lrwxrwxrwx 1 root root 8 Jun 15 18:25 vm-111-disk-0 -> ../zd112
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-111-disk-0-part1 -> ../zd112p1
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-111-disk-0-part2 -> ../zd112p2
0 lrwxrwxrwx 1 root root 10 Jun 15 18:25 vm-111-disk-0-part5 -> ../zd112p5



Any idea or guide that I can follow on this matter?

Thank you very very much!
 
Last edited:

shrdlicka

Proxmox Staff Member
Staff member
May 2, 2022
522
59
28
Hi,

did you try to call qm rescane --vimid <vmid> --dryrun to see if it finds some disks to attach to the VM defined by vmid. If this looks like its doing the right thing, you can remove the dryrun flag and let it attach the disks. You can then move the disks in the GUI/CLI to the right VM.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!