From f4f2ce1a13ffc33710d58287f269361acb985f2b Mon Sep 17 00:00:00 2001 From: TiynGER Date: Fri, 5 Mar 2021 15:06:56 +0100 Subject: [PATCH] proxmox: guide to remove local-lvm for local added --- wiki/linux/proxmox.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wiki/linux/proxmox.md b/wiki/linux/proxmox.md index 8c7a2a2..c0fc6b9 100644 --- a/wiki/linux/proxmox.md +++ b/wiki/linux/proxmox.md @@ -29,6 +29,14 @@ qm resize 100 ide0 +100G After that grow the filesystem as described in [the disk-management article](disk-management.md). +## Remove local-lvm and add its size to local + +First remove `local-lvm` with `lvremove /dev/pve/data`. +Then remove `local-lvm` in the proxmox gui via `Datacenter/Storage/Remove`. +Change the `Content` of the remaining storage according to your needs. +Add the free storage to the remaining storage with `lvresize -rl +100%FREE /dev/pve/root`. +Finally extend the filesystem `resize2fs /dev/mapper/pve-root`. + ## VM passthrough ### USB passthrough