Mount vm image disk to another vm

raj

Renowned Member
Sep 17, 2011
219
4
83
www.businessparksolutions.com
Hi Guys,

Just wanted to know if the following is possible?

I have a windows vm and the disk is on an iscsi lun.

If i switch that vm off, is there any way to mount that disk on another vm.

With physical machine, you would just pull the drive out of the original machine and add it to the second machine and are able to read the data on that drive or write to it.

Just want to know if that is possible.

Cheer,

Raj
 
Hi Guys,

Just wanted to know if the following is possible?

I have a windows vm and the disk is on an iscsi lun.

If i switch that vm off, is there any way to mount that disk on another vm.

With physical machine, you would just pull the drive out of the original machine and add it to the second machine and are able to read the data on that drive or write to it.

Just want to know if that is possible.

Cheer,

Raj
Hi,
of course - simply edit the config-file of the "another vm" and add the disk of the switched off VM like:
Code:
...
ide0: local:110/vm-110-disk-1.raw
ide1: iscsi_oa:vm-200-disk-1
...
Power on VM 110 and you see the disk of VM 200 as second disk on VM 110.

Be carefull to use the disk only at one running VM at a time.

Udo
 

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!