Proxmox Cluster Storage

bumann

Member
May 1, 2016
27
1
23
39
Hi,

my setup is:

ServerA:
Raid1 (hardware controller) with
1TB (2x1TB HDD)
Proxmox standard installation

ServerB:
Raid1 (hardware controller) with
1TB (2x1TB HDD)
500GB (2x500GB HDD)
Proxmox standard installation

After the installation i create a Cluster.

The Problem, i want to migrate VMs from Server A to Server B. But the "local" Storgae shows only 96GB of Storgae and the Migration is not working with a "not enough Memory". When i Migrate a smal VM to Server B it is working.
So i have manualy add the 500gb Storage as LVM Volume, but i can´t select the storage in Migration tab.
My Question how to get the 900GB of the first drives from the servers as local storage?
How to setup the 900gb Storage on each Server?
Thanks for your help.
 
Additional Information:
lvdisplay on both server:

ServerA:
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID sklIC6-Hxns-MiqP-BUlA-BE1A-J3J0-xp4ptt
LV Write Access read/write
LV Creation host, time proxmox, 2015-11-30 15:50:42 +0100
LV Status available
# open 2
LV Size 7.00 GiB
Current LE 1792
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:1

--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID jW4mMM-IeeF-Z2As-qlhG-DX7I-253Z-K0vtPK
LV Write Access read/write
LV Creation host, time proxmox, 2015-11-30 15:50:42 +0100
LV Status available
# open 1
LV Size 96.00 GiB
Current LE 24576
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:0

--- Logical volume ---
LV Path /dev/pve/data
LV Name data
VG Name pve
LV UUID zgcq2z-TNEf-G0Mr-oh7F-MwDf-5B1U-eJQDb0
LV Write Access read/write
LV Creation host, time proxmox, 2015-11-30 15:50:42 +0100
LV Status available
# open 1
LV Size 811.87 GiB
Current LE 207838
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:2

ServerB:
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID jdH4wb-qfId-buOg-NBOF-XzW4-sGPK-LIvwbQ
LV Write Access read/write
LV Creation host, time proxmox, 2016-04-30 14:32:26 +0200
LV Status available
# open 2
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:1

--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID eU0UMw-RrkB-59ot-WwVY-HcuM-u9rT-yzxBUT
LV Write Access read/write
LV Creation host, time proxmox, 2016-04-30 14:32:27 +0200
LV Status available
# open 1
LV Size 96.00 GiB
Current LE 24576
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:0

--- Logical volume ---
LV Name data
VG Name pve
LV UUID k0Nvqu-HZcp-vS80-nn7s-wnXU-LXuE-aHrHGk
LV Write Access read/write
LV Creation host, time proxmox, 2016-04-30 14:32:28 +0200
LV Pool metadata data_tmeta
LV Pool data data_tdata
LV Status available
# open 0
LV Size 810.88 GiB
Allocated pool data 0.00%
Allocated metadata 0.42%
Current LE 207584
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:4


lsblk information:

ServerA:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 931G 0 disk
├─sda1 8:1 1 1007K 0 part
├─sda2 8:2 1 127M 0 part
└─sda3 8:3 1 930.9G 0 part
├─pve-root 251:0 0 96G 0 lvm /
├─pve-swap 251:1 0 7G 0 lvm [SWAP]
└─pve-data 251:2 0 811.9G 0 lvm /var/lib/vz
sr0 11:0 1 1024M 0 rom

ServerB:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 127M 0 part
└─sda3 8:3 0 930.9G 0 part
├─pve-root 251:0 0 96G 0 lvm /
├─pve-swap 251:1 0 8G 0 lvm [SWAP]
├─pve-data_tmeta 251:2 0 104M 0 lvm
│ └─pve-data 251:4 0 810.9G 0 lvm
└─pve-data_tdata 251:3 0 810.9G 0 lvm
└─pve-data 251:4 0 810.9G 0 lvm
sdb 8:16 0 465.3G 0 disk
└─sdb1 8:17 0 465.3G 0 part
sr0 11:0 1 1024M 0 rom

Is there anybody can help me .... ?
 
Thanks for the replay, at the first there was server A with some VMs on with Proxmox 4.1. Then i have upgraded Server A to Proxmox 4.2
and installed server B with fresh installed drives. After that i created on Server a a Cluster via:
pvecm create YOUR-CLUSTER-NAME

after that i add the Server B via
pvecm add IP-ADDRESS-CLUSTER

That is what i have done.

Now i have see that the Space on Server A is ok (1TB) the Problem is only on Server B. I think the fresh install has done some Problematic
partitioning on HDD1?!
 
I think the Problem was that, a fresh prox 4.2 install uses lvm thin for local image storage, and 4.1 uses only lvm for storage. So Server A is on lvm storage after the upgrade to 4.2 and Server B is on lvm thin and thats not good for cluster :). So i backup the vms from Server A and do a fresh install of both Server with prox 4.2.
 

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!