How to modify disk partition after Proxmox installation

gianry

Member
Aug 16, 2024
57
0
6
Hi,
today I begin to use the very interesting proxmox on a minipc. I 've a 256 gb drive . During installation i 've set install partition at 128 gb. Now I see a local drive of 44 gb and local-lvm of 64.88 gb.

firstly I 'd like to understand how to use the other 128 gb ssd space as virtual drive and secondly how to change the local and local-lvm size .

thanks in advance for your help and patience
 
Boot from a rescue environment and fire up gparted
Don't mess with the LVM, (unless you have a full backup) - just make a new partition for your virtual drive. Can be ZFS, XFS, ext4, whatever

Then you'll have to do the usual in /etc/fstab once you boot back to proxmox, mkdir mountpoint, mount -a and define it in the GUI as Storage

https://github.com/nchevsky/systemrescue-zfs/releases/tag/v10.02+2.2.2
 
  • Like
Reactions: gianry
Don't mess with the LVM, (unless you have a full backup) - just make a new partition for your virtual drive. Can be ZFS, XFS, ext4, whatever

Please could you explain me if it is better to use all the drive space in Proxmox installation or like in my case to split during installation ?
 
You as the sysadmin should have a plan going in before doing the install and partitioning the drive.

Allocate ~40GB for rootfs, then how much you expect to need for LVM (not much, maybe 100-128GB unless you're doing multiple ZFS-guest filesystems since you don't want zfs-on-zfs) and ZFS for the features / mirror / raidz2

If you're doing mirrored root, then you want to give 100% to both disks as ZFS rpool for simplicity. Just make sure you're using 2 different makes/models of disk so they don't wear out around the same time

You can also have a separate data-only zfs pool for the VMs/CTRs, mirrors is recommended over raidz2 for performance.
 
Last edited:
You as the sysadmin should have a plan going in before doing the install and partitioning the drive.

Allocate ~40GB for rootfs, then how much you expect to need for LVM (not much, maybe 100-128GB unless you're doing multiple ZFS-guest filesystems since you don't want zfs-on-zfs) and ZFS for the features / mirror / raidz2

If you're doing mirrored root, then you want to give 100% to both disks as ZFS rpool for simplicity. Just make sure you're using 2 different makes/models of disk so they don't wear out around the same time

You can also have a separate data-only zfs pool for the VMs/CTRs, mirrors is recommended over raidz2 for performance.
do you know if it is possible to use the second partition as Hard drive in Trueness as passthrough ?