Created
April 20, 2022 02:01
-
-
Save pichuang/e111702aaf3602a8111dda2ff1e443a0 to your computer and use it in GitHub Desktop.
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
fdisk -l | |
df -h | |
fdisk /dev/sda | |
... | |
pvcreate /dev/sda3 | |
vgdisplay | grep "VG Name" | |
vgextend ubuntu-vg /dev/sda3 | |
lvdisplay | grep "LV Path" | |
lvextend /dev/ubuntu-vg/ubuntu-lv /dev/sda3 | |
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment