Storage Error with migrating VM's (Offline and Online)

Corona

New Member
Nov 12, 2018
1
0
1
35
Hi all,

Im fairly new to Proxmox and am trying to get a small working cluster of 2 nodes. I set up network, storage, etc but can't seem to get the migration of VM's to work. Each time I get an error saying: storage 'local-vm' is not available on node 'vhost2' (500)

My setup is as follows:
VHOST1
local 16gb storage (os install)
local 70gb iso drive
local 500gb vmstore
storagecfg:

dir: local
path /var/lib/vz
content vztmpl
maxfiles 1
shared 0

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir

nfs: nas-backup
export /backup
path /mnt/pve/nas-backup
server 10.1.20.90
content backup
maxfiles 20
nodes vhost2,vhost1
options vers=3

lvmthin: vmstore2
thinpool vmstore2
vgname vmstore2
content images,rootdir
nodes vhost2

lvm: local-vm
vgname vmstore
content rootdir,images
nodes vhost1
shared 0



VHOST2
local 70gb os drive
local 500gb vmstore2

storagecfg:
dir: local
path /var/lib/vz
content vztmpl
maxfiles 1
shared 0

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir

nfs: nas-backup
export /backup
path /mnt/pve/nas-backup
server 10.1.20.90
content backup
maxfiles 20
nodes vhost2,vhost1
options vers=3

lvmthin: vmstore2
thinpool vmstore2
vgname vmstore2
content images,rootdir
nodes vhost2

lvm: local-vm
vgname vmstore
content rootdir,images
nodes vhost1
shared 0


Last I have A mounted NAS backup share.

Can anyone help me out here since im out of options? Thanks a lot in advance!
 
The local-vm storage is restricted to vhost1, if the storage is only available on one host you can't move the vm to the same storage on the other host. That's what the error message is trying to tell you with storage 'xx' not available on host xy.
 

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!