Created
July 6, 2021 07:36
-
-
Save FleXoft/ae21effae18d3e98d2e9e3415cb5de79 to your computer and use it in GitHub Desktop.
Linux increase root xfs partition size
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
# Base source: https://www.miarec.com/doc/administration-guide/doc1012 | |
fdisk /dev/sda | |
poweroff | |
increase disk size at VMware side | |
fdisk /dev/sda | |
n | |
p | |
3 | |
t | |
8e | |
w | |
partprobe -s | |
fdisk -l | |
pvcreate /dev/sda3 | |
lsblk | |
vgdisplay | |
vgextend rhel /dev/sda3 | |
pvscan | |
lvextend /dev/rhel/root /dev/sda3 | |
xfs_growfs /dev/mapper/rhel-root | |
df -h | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment