Problem with ext4 partitioning and space

jasonwch

New Member
Feb 13, 2025
27
5
3
Hi, I am very new to PVE, just setup my old PC and try out the PVE. The PC only have 1 256Gb SSD so I want to carefully make use of the space.

It's formatted as ext4. From many posts and web document, the resizing will be an issue with ext4 on PVE.
Would like to ask the following:

1. Any latest and clear instruction on how to resize local and local-lvm? is it MUST clean out local-lvm to resize both partition?
2. If in the future, I want to resize "local" and allocate back to local-lvm, is it MUST boot from USB with GPart and resize the partition, and no way to do it on the fly (i.e. not in front of that PC but perform remotely)
3. What is the correct size of data-tmeta? I can see it's now at 2G, is it ok to resize it on the fly?
4. I've read some document online saying just simply delete local-lvm and allocate all space to local, then just use local to store and run VMs, as I know local is using "Directory" will it be an issue?

Here's my lsblk info.
root@pve:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 1007K 0 part
├─nvme0n1p2 259:2 0 1G 0 part /boot/efi
└─nvme0n1p3 259:3 0 237.5G 0 part
├─pve-swap 252:0 0 4G 0 lvm [SWAP]
├─pve-root 252:1 0 25G 0 lvm /
├─pve-data_tmeta 252:2 0 2G 0 lvm
│ └─pve-data 252:4 0 193.5G 0 lvm
└─pve-data_tdata 252:3 0 193.5G 0 lvm
└─pve-data 252:4 0 193.5G 0 lvm