Proxmox - Increase LVM size

bheaven87

New Member
Feb 8, 2023
4
1
3
Hi,

I'm currently running Proxmox on a Dell T440 with an H730.

I added an additional 4x 18TBs and increased the array to utilize the space. So overall have 8x 18TBs in a RAID 10.

The previous array size was 36TB and has now increased to 72TB

Screenshots are attached and need some guidance on how I now increase my LVM to use this free space.

Thanks,

Ben
 

Attachments

  • 2023-03-16 11_42_32-proxmox - Proxmox Virtual Environment.png
    2023-03-16 11_42_32-proxmox - Proxmox Virtual Environment.png
    152.4 KB · Views: 6
  • 2023-03-16 11_43_09-proxmox - Proxmox Virtual Environment.png
    2023-03-16 11_43_09-proxmox - Proxmox Virtual Environment.png
    147.5 KB · Views: 6
Can you post the output of the following commands? (please wrap the output in CODE-Tags for easier readability)

Code:
fdisk -l /dev/sda
pvs
lvs
 
Here you go:

Code:
root@proxmox:~# fdisk -l /dev/sda

Disk /dev/sda: 65.48 TiB, 71998684266496 bytes, 140622430208 sectors

Disk model: PERC H730 Adp 

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

root@proxmox:~# pvs

  PV           VG             Fmt  Attr PSize    PFree 

  /dev/nvme0n1 VM_Storage     lvm2 a--   931.51g  147.51g

  /dev/sda     Array1_Storage lvm2 a--    32.74t  426.99g

  /dev/sdb3    pve            lvm2 a--  <223.07g <159.32g

root@proxmox:~# lvs

  LV            VG             Attr       LSize    Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert

  vm-101-disk-0 Array1_Storage -wi-ao----   <9.77t                                                   

  vm-101-disk-1 Array1_Storage -wi-ao----  <14.65t                                                   

  vm-101-disk-2 Array1_Storage -wi-ao----    4.88t                                                   

  vm-101-disk-3 Array1_Storage -wi-ao----    1.95t                                                   

  vm-102-disk-0 Array1_Storage -wi-a----- 1000.00g                                                   

  vm-106-disk-0 Array1_Storage -wi-a-----  100.00g                                                   

  vm-106-disk-1 Array1_Storage -wi-a-----    4.00m                                                   

  vm-101-disk-0 VM_Storage     -wi-a-----   32.00g                                                   

  vm-101-disk-1 VM_Storage     -wi-ao----   32.00g                                                   

  vm-102-disk-0 VM_Storage     -wi-a-----  500.00g                                                   

  vm-102-disk-1 VM_Storage     -wi-a-----  120.00g                                                   

  vm-104-disk-0 VM_Storage     -wi-ao----  100.00g                                                   

  root          pve            -wi-ao----   55.75g                                                   

  swap          pve            -wi-ao----    8.00g                                                   

root@proxmox:~#

Thanks!
 
Last edited:
In order to use the newly available space it should be sufficient to run:

Code:
pvresize /dev/sda
 
  • Like
Reactions: bheaven87
Thank you very much for your help.

Seems to have done the job.
 

Attachments

  • 2023-03-16 12_29_07-proxmox - Proxmox Virtual Environment.png
    2023-03-16 12_29_07-proxmox - Proxmox Virtual Environment.png
    149.6 KB · Views: 5
  • Like
Reactions: shanreich