Ilhom

New Member
May 23, 2021
4
0
1
20
Hi guys!
I tried assigning more storage to the root partition by following this Google Docs.
Well, after accidentally assigning all the storage after executing lvremove /dev/pve/data -y I am now stuck with pve-data not existing and pve-root having 103.3GB (I have a 120GB SSD).
After trying to shrink pve-root it gives me following error:

Code:
root@pve:~# resize2fs /dev/mapper/pve-root 58G

resize2fs 1.44.5 (15-Dec-2018)

Filesystem at /dev/mapper/pve-root is mounted on /; on-line resizing required

resize2fs: On-line shrinking not supported

Can anyone help me resize root?
 
Last edited:
Boot from a Linux LiveCD so your root filesystem is not in use, or use GPartEd Live, which specializes in this sort of thing and can also be very useful for shrinking VM virtual disks.
how do i shrink the root partition of proxmox if i boot from a livecd or gparted live?
 
The instructions you posted looked like you knew what you were doing. I'm sorry, I can't hold you hand on this, and I also cannot give specific instruction for you and become responsible if something goes wrong. Either boot from a LiveCD and find the right drive to perform those instruction on, or use GParted Live with a GUI to shrink pve-root.
 
ok whatever, I tried to avoid it but I just reinstalled Proxmox and set the partition sizes manually.
 

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!