unable to mount multidisk LVM as usable

sonofagl1tch

New Member
Dec 1, 2017
2
1
3
37
Background
I have 5 2TB disks. I have installed proxmox and am able to create new virtual machines and run them. The ability to successfully create and use VMs lead me to believe I installed everything correctly. I have run through the LVM documentation as well as the proxmox documentation and attempted the process I read in those documents without success. I believe there is something simple I am not understanding but I am not sure what that is. I would like someone to point out the user error :) I have been trying to do this for ~3 days now between projects at work.

Issues
  • Unable to successfully mount the LVMs I have created.
  • Unable to expand local-lvm to include additional drives in my server.

Request
What are the steps to expand my local-lvm from the single physical 2TB disk to a LVM of 5 2TB (10TB total) disks? Links, information, or a step by step would be much appreciated!

links reviewed

Logs
root@esx-4:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- 1.82t 15.78g
/dev/sdb1 pve lvm2 a-- 1.82t 1.82t
/dev/sdc1 pve lvm2 a-- 1.82t 1.82t
/dev/sdd1 pve lvm2 a-- 1.82t 1.82t
/dev/sde1 pve lvm2 a-- 1.82t 1.82t
root@esx-4:~# vgs
VG #PV #LV #SN Attr VSize VFree
pve 5 12 0 wz--n- 9.10t 7.29t
root@esx-4:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
base-100-disk-1 pve Vri---tz-k 100.00g data
base-101-disk-1 pve Vri---tz-k 100.00g data
base-102-disk-1 pve Vri---tz-k 100.00g data
base-102-disk-2 pve Vri---tz-k 500.00g data
data pve twi-aotz-- 1.70t 2.64 1.87
root pve -wi-ao---- 96.00g
snap_vm-200-disk-1_ServerInstalled pve Vri---tz-k 500.00g data vm-200-disk-1
snap_vm-200-disk-2_ServerInstalled pve Vri---tz-k 100.00g data vm-200-disk-2
swap pve -wi-ao---- 8.00g
vm-200-disk-1 pve Vwi-a-tz-- 500.00g data base-102-disk-2 2.43
vm-200-disk-2 pve Vwi-a-tz-- 100.00g data base-102-disk-1 9.68
vm-200-state-SqrrlInstalled pve Vwi-a-tz-- 200.49g data 6.21
root@esx-4:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 63G 0 63G 0% /dev
tmpfs 13G 10M 13G 1% /run
/dev/mapper/pve-root 94G 9.6G 80G 11% /
tmpfs 63G 43M 63G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 63G 0 63G 0% /sys/fs/cgroup
/dev/sda2 253M 288K 252M 1% /boot/efi
/dev/fuse 30M 20K 30M 1% /etc/pve
tmpfs 13G 0 13G 0% /run/user/0


Screen Shot 2017-12-01 at 6.00.53 PM.png
 
  • Like
Reactions: elmacus
For those interested, this is what I ended up doing

Format disks:
sgdisk -Z /dev/sdb
sgdisk -Z /dev/sdc
sgdisk -Z /dev/sdd
sgdisk -Z /dev/sde
sgdisk -N 1 /dev/sdb
sgdisk -N 1 /dev/sdc
sgdisk -N 1 /dev/sdd
sgdisk -N 1 /dev/sde

Create LVM group of multiple disks:
vgcreate pve /dev/sdb1
vgextend pve /dev/sdc1 /dev/sdd1 /dev/sde1

Add to GUI:
Then go into the Proxmox GUI:
Datacenter -> Storage -> Add: LVM
and you will see your volume group show up in the drop down menu.
 

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!