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
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
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
- https://forum.proxmox.com/threads/multiple-hdd-in-proxmox-not-raid.2657/
- https://pve.proxmox.com/wiki/Logical_Volume_Manager_(LVM)
- https://pve.proxmox.com/wiki/Extending_Local_Container_Storage
- https://pve.proxmox.com/wiki/Storage_Model#Use_local_devices_.28like_.2Fdev.2Fsd...2F.2C_FC.29
- hxxp://tldp.org/HOWTO/LVM-HOWTO/
- https://forum.proxmox.com/
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