Adding hard drives

mathewb

New Member
Feb 12, 2021
17
0
1
43
Hi there I am trying to add hard drives to my proxmox server I am using
cd /dev/disk/by-id
ls
cfdisk /dev/disk/by-id/ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ

pvcreate /dev/disk/by-id/ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ-part1

vgextend pve /dev/disk/by-id/ata-WDC_WD20EZRZ-00Z5HB0_WD-WCC4M1FP4EXZ-part1

lvextend /dev/pve/data -L +1.8t
I now that dev/pve/date -l+1.8t will add more space to local lvm (your pve name) how do I add more space to local (your pve name)
 
Hi,
it's basically the same, but there is an extra step:

Use lvextend pve/root -L+<size><unit> and then resize the file system with resize2fs /dev/mapper/pve-root.
 

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!