trouble importing or moving vms to new directory

ronaldm271

New Member
Oct 4, 2020
2
0
1
36
hello everyone,

I am a huge fan of proxmox and have been using with no issues for quite some time. recently my main OS drive failed and i had to reinstall the software. I was able to reimport my zfs raids and my one LVM disk, but i am not able to import my VM's. i am able to see the files listed under the content tab for each storage and when i do zfs list i am able to see the files as well. my issue is that i am unable to find a command where i can copy the vm's to another directory i created. in the screenshot i included, i created a samba share and am able to navigate to it but i am not able to copy the vms to that directory. if i someone is able to, i am sure i can reimport the disk using "qm set <vmid> /path/to/file" command. can someone please help me get going? thank you so much
 

Attachments

  • proxmox-vm.PNG
    proxmox-vm.PNG
    78.5 KB · Views: 4
  • proxmox-lvm.PNG
    proxmox-lvm.PNG
    119.8 KB · Views: 4
  • proxmox-zraid1.PNG
    proxmox-zraid1.PNG
    65.8 KB · Views: 3
well, if you dont have your vm.conf files you will need to recreate them before you can do anything with your disks.

Once you recreate the vm.conf files (do not create a disk for them,) these existing disks will appear as unused for the matching vmid (eg, if you create a vm with id 100, you will see vm-100-disk-0 as an available disk which you can them map to the vm.)
 
i will try not creating disk for them, but how can i point to those vm files when using the qm set vmid ide0: command?
 

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 yours easily in our online shop.

Buy now!