Extending LVM based filesystem
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
# initialize physical device to be used as a physical volume with LVM | |
# (below we assume the newly added block device was "/dev/sdb") | |
pvcreate /dev/sdb | |
# add physical volume to volume group | |
vgextend ubuntu-vg /dev/sdb | |
# extend logical volume and file system | |
lvextend -r /dev/ubuntu-vg/root /dev/sdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment