Friday, November 15GNOME IT SOLUTIONS LLC

Delete Local LVM and resize storage in Proxmox

Welcome to proxmox tutorial. Here we will guide you how to delete the proxmox default local-lvm and mount the drive into the local storage

Frist login into the proxmox after that select the datacenter-storage-Delete the “local-lvm”

Edit the “local” and select all content

LVREMOVE command

Deleting a volume frees its storage back to the volume group, which can then be used to create new logical volumes or support growing an existing volume. lvremove command can be used to delete an LVM volume which we no longer intend to use. Please make sure you take a backup of the mount point in case you may want the data in it later on:

lvremove /dev/pve/data

LVRESIZE command

lvresize is a command in Linux used to resize a Logical Volume (LV) in a Linux Logical Volume Manager (LVM) system:

lvresize -l +100%FREE /dev/pve/root

RESIZE2FS command

The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device:

resize2fs /dev/mapper/pve-root