Reduce /dev/pve/root?

Groot

New Member
Aug 14, 2023
2
0
1
Hi,

I'm very new to Proxmox, but have managed to get everything up and runnin. 3VM and 2 CT.
However, I f**** up when commissioning.
I created a LVM disk on my entire physical SSD. So now everything is running on the LVM disk.
I would like to be able to take snapshots, so I'm now trying to start over.

But before I re-install everything, including proxmox, I just want to check if there is any way to reduce the size of the LVM drive so that I can create a ZFS drive.
I tried the lvresize, but I chickened out when I got the warning.

1692025462650.png

Is there anyone that have any pointers?
 
You don't need ZFS for snapshots. LVM-Thin would have worked too, but you told the installer to not create a LVM-Thin pool ("data" LV or "local-lvm" storage) so you ended up with a normal ext4 root filesystem on top of LVM which won't allow to use snapshots unless you use qcow2 image files.

And yes, you can't simple reduce the size of a LV. You would need to shrink your filesystem first and even then it's always possible to damage your data.
 
Last edited:

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!