Move VM images from NFS to DRBD

Fred91

New Member
Aug 20, 2010
13
0
1
Hello,

I'm testing a proxmox cluster with 2 nodes using DRBD and a NFS share.
It's working fine, I have some VM running on DRBS and others on NFS with no problem.

Is there any way to move the hard disk of a VM from DRBD to NFS or NFS to DRBD ?

My first thought was to stop the VM, remove the harddisk in the Proxmox web interface, copy the raw file from one storage to the other, recreate the disk and start my VM again.

But, if I can access to the nfs share with ssh, I don't know how to mount the drbd volume to acces the images.

Maybe one solution could be to backup my VM, edit the conf file and restore my VM ?

Thanks for your help.

Fred
 
I assume your are using LVM on DRBD according to our wiki pages? if yes, there are two ways.
1. backup/restore (recommended)
2. use dd
 

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!