---
title: "Remove local-lvm and expand local storage"
description: "Remove the local-lvm volume and expand local storage after a fresh Proxmox VE install, tested on PVE 7 and 8, to gain space."
image: "https://8labs.id/opengraph.jpg"
---

> Documentation Index
> Fetch the complete documentation index at: https://8labs.id/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove local-lvm and expand local storage

if you want to remove local-lvm and expand local storage after first installation of proxmox.
TESTED on PVE 7 and 8.

### Preparation

Click on "Datacenter" and then click on "Storage".

Click on "local-lvm" and click on "Remove" (Don’t worry, it’s not a bad thing)

Once it is removed, click on the pve node and click "Shell".

Enter the following commands:
```bash
lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root
```

Source: https://8labs.id/guides/proxmox/expand-local-storage/index.mdx
