Skip to content

Instantly share code, notes, and snippets.

@Filirom1
Created March 14, 2016 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Filirom1/3963f4c5e91b7840aad2 to your computer and use it in GitHub Desktop.
Save Filirom1/3963f4c5e91b7840aad2 to your computer and use it in GitHub Desktop.
Extend LV on VmWare

Extend LV on VmWare

umount /dev/vg01/lvname
echo 1 > /sys/class/scsi_device/0\:0\:0\:0/device/rescan
fdisk  /dev/sda
# d
# 3
# n
# p
# Enter
# Enter
# t
# 3
# 8e
# w
pvresize /dev/sda3
lvextend -L +100G /dev/vg01/lvname
resize2fs /dev/vg01/lvname 298G
mount /dev/vg01/lvname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment