Homelab Troubleshooting

Tips on running a Linux server and docker.

User Tools

Site Tools


resizevmdisk

This is an old revision of the document!


Resizing LVM on Proxmox

  • First you resize the VM disk offline on Proxmox
  • Boot the VM and enter it:
  sudo su
 
  # fdisk -l /dev/sda
 
  # parted /dev/sda
    > print
    > Answer: Fix
    > resize part 3 100%
    > quit
 
  # pvresize /dev/sda3
  # lvresize --extents +100%FREE --resizefs /dev/mapper/ubuntu--vg-ubuntu--lv
 
  * Take a breath, it's done.
  * I should read up on LVM management.
resizevmdisk.1630136764.txt.gz · Last modified: 2021/08/28 10:46 by alexk7110