[SOLVED] Moving VM Disk To New Node

Grunt

Member
Sep 6, 2022
29
5
8
I currently have central storage accessed by my nodes via LVM on top of iSCSI. For reasons, Node A connects to the storage via the 10.0.10.0 network, and Node B connects via 10.1.10.0 network. I am bringing Node B over to the 10.0.10.0 network, but after doing so, the VM disks are no longer accessible. I tried deleting the VM and keeping the disk, but when creating the VM, I can't assign the orphaned disk. In the GUI, the disk does not appear, but if I run lsblk, on either node, I can see the disk.

I think the issue lies in that the iscsi portal the disk was accessed on is different, but how can I bring that disk over and make it accessible on the new network?
 
You can try qm disk import <vmid> <source> <storage> [OPTIONS] (see the qm manpages for more info). Don't forget to add them as used disks in the hardware-panel of the web interface, they are imported as unused disks (and change boot order if you boot off of them).
 

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!