Created
June 18, 2015 12:52
-
-
Save diasjorge/16227c563f10fce9ae95 to your computer and use it in GitHub Desktop.
Expand lvm disk 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
echo '1' > /sys/class/scsi_disk/2\:0\:0\:0/device/rescan | |
fdisk /dev/sda | |
partprobe | |
pvcreate /dev/sda4 | |
vgextend system /dev/sda4 | |
lvextend -l +100%FREE /dev/system/root | |
resize2fs -p /dev/mapper/system-root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment