Hi,
I have a two nodes cluster connected to a Fibre-Channell SAN to store vm's raw disk, I use LVM storage model.
All work fine. I have many vm and I can online migrate the vm from node1 to node2 and vice versa.
But now I need give a direct-SAN-disk to a windows 2003 vm.
No problem, I gave the command:
qm set 110 -ide1 /dev/mapper/SANDisk4
this command append to the 110.conf this line:
ide1: /dev/mapper/SANDisk4
The VM work fine and I can use the new NTFS SAN-disk.
But if I try to migrate the vm from node1 to node2 I get an error, the direct-SAN-disk is considered as local disk and is not shared.
This is the error:
/usr/sbin/qmigrate --online 192.168.10.49 110
Mar 03 16:29:54 starting migration of VM 110 to host '192.168.10.49'
Mar 03 16:29:54 copying disk images
Mar 03 16:29:54 Failed to sync data - cant migrate local file/device '/dev/mapper/SANDisk4
Mar 03 16:29:54 migration aborted
VM 110 migration failed -
How can I give a direct-SAN-disk to a vm and declare it shared to use the online migration?
Thanks in advance.
I have a two nodes cluster connected to a Fibre-Channell SAN to store vm's raw disk, I use LVM storage model.
All work fine. I have many vm and I can online migrate the vm from node1 to node2 and vice versa.
But now I need give a direct-SAN-disk to a windows 2003 vm.
No problem, I gave the command:
qm set 110 -ide1 /dev/mapper/SANDisk4
this command append to the 110.conf this line:
ide1: /dev/mapper/SANDisk4
The VM work fine and I can use the new NTFS SAN-disk.
But if I try to migrate the vm from node1 to node2 I get an error, the direct-SAN-disk is considered as local disk and is not shared.
This is the error:
/usr/sbin/qmigrate --online 192.168.10.49 110
Mar 03 16:29:54 starting migration of VM 110 to host '192.168.10.49'
Mar 03 16:29:54 copying disk images
Mar 03 16:29:54 Failed to sync data - cant migrate local file/device '/dev/mapper/SANDisk4
Mar 03 16:29:54 migration aborted
VM 110 migration failed -
How can I give a direct-SAN-disk to a vm and declare it shared to use the online migration?
Thanks in advance.