Increase disk space on root VMware guest without reboot
by bkone from LinuxQuestions.org on (#51Q46)
I have a CentOS 7 VMware guest running on ESX. On Windows when I need to increase disk space I can add more space within VMware and then login to the Windows guest and using disk management can rescan and expand the disk. I am trying to figure out how to do that on my CentOS 7 guest. I increase the disk within the VMware guest but how do I rescan and then increase the disk space on root?
I have read several sites about adding the space and then running fdisk, deleting and then recreating the partition. Or creating a new partition, running a scsi scan, etc. I am using system storage manager (ssm). I was hoping there was an easier way like on Windows to expand the storage space on my root partition. Reaching out to the experts... what is the best/easiest way to expand the root volume (LVM) on CentOS 7 running as a VMware guest?


I have read several sites about adding the space and then running fdisk, deleting and then recreating the partition. Or creating a new partition, running a scsi scan, etc. I am using system storage manager (ssm). I was hoping there was an easier way like on Windows to expand the storage space on my root partition. Reaching out to the experts... what is the best/easiest way to expand the root volume (LVM) on CentOS 7 running as a VMware guest?