Created
September 11, 2024 18:53
-
-
Save ghazanhaider/298f6d92b7af876fd0668cdb0ad8e2eb to your computer and use it in GitHub Desktop.
LVM resize
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to increase the size of an LVM based disk | |
# Step1: Increase underlying disk size (qemu, vmware etc) | |
# Step2: | |
cfdisk /dev/nvme0n1p3 | |
pvresize /dev/nvme0n1p3 | |
lvresize -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment