- Change size of virtual disk in VMware (increase only)
Rescan the SCSI bus / devices
# echo "- - -" > /sys/class/scsi_host/host0/scan # echo 1 > /sys/class/scsi_device/0\:0\:0\:0/device/rescan # echo 1 > /sys/class/scsi_device/2\:0\:0\:0/device/rescan
Destroy & recreate the partition with the new boundary (hopefully you used the last partition on the disk!)
# fdisk /dev/sda p (print) d (delete partition) 3 (third partition) n (new partition) p (a primary partition) 3 (the third one) [return] (start block default) [return] (end block default) w (write changes to disk)
Pray
# reboot
Let BTRFS know
# btrfs filesystem resize max /