Proxmox Expand /dev/pve/data

laptopdude90

New Member
Nov 20, 2013
23
0
1
Hi all,

I recently upgraded the drives in my Proxmox machine to 1TB from 300GB. Is there an easy way to extend the /dev/pve/data partition so I can use all this extra space?

I've tried this already:

root@proxmox:~# lvextend -L800G /dev/mapper/pve-data
Extending logical volume data to 800.00 GiB
Insufficient free space: 163360 extents needed, but only 4095 available

root@proxmox:~# lvextend -L800G /dev/pve/data
Extending logical volume data to 800.00 GiB
Insufficient free space: 163360 extents needed, but only 4095 available
 
Hi all,

I recently upgraded the drives in my Proxmox machine to 1TB from 300GB. Is there an easy way to extend the /dev/pve/data partition so I can use all this extra space?

I've tried this already:

root@proxmox:~# lvextend -L800G /dev/mapper/pve-data
Extending logical volume data to 800.00 GiB
Insufficient free space: 163360 extents needed, but only 4095 available

root@proxmox:~# lvextend -L800G /dev/pve/data
Extending logical volume data to 800.00 GiB
Insufficient free space: 163360 extents needed, but only 4095 available

Hi,
you need first to extend your VG. Resize your partition (reboot required) or create an new partition, which you added to the pve-VG.
After that, you can extend your LV and the filesystem.
See also
Code:
pvs
vgs
lvs
man vgextend
man resize2fs
Udo
 
Hi,
you need first to extend your VG. Resize your partition (reboot required) or create an new partition, which you added to the pve-VG.
After that, you can extend your LV and the filesystem.
See also
Code:
pvs
vgs
lvs
man vgextend
man resize2fs
Udo

It there any way to do it without a reboot?