Skip to content

Instantly share code, notes, and snippets.

@mffiedler
Last active June 22, 2020 20:45
Show Gist options
  • Save mffiedler/0ea5c36b0558e42bd7fddeb894e79c41 to your computer and use it in GitHub Desktop.
Save mffiedler/0ea5c36b0558e42bd7fddeb894e79c41 to your computer and use it in GitHub Desktop.
Increase root FS space on
parted /dev/nvme0n1 (starts interactive session)
p
respond Fix twice
q (return to bash)
fdisk /dev/nvme0n1
n (new partition - keep hitting enter to take defaults)
w
q (return to bash)
partprobe
lsblk and make sure nvme0n1p4 exists
pvcreate /dev/nvme0n1p4
vgextend rhel /dev/nvme0n1p4
lvextend /dev/rhel/root /dev/nvme0n1p4
reboot
ssh back in and df -h / and make sure it is ~190GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment