
Now it’s time to resize the LV and see the expanded filesystem. As your physical volume now has space, you can extend your logical volumes (LV) as below. Now it will show you new size and space left.Ĩ. Verify new expanded size of PV by pvs command. Use “ pvresize” command to resize the physical volume. Now it’s time to resize your physical volume (PV). At this point, you won’t be seeing the increased size on “ pvs” output.Ħ. Now, just rescan the physical volume by using pvscan command. Now use “ blockdev” command to re-read the partition table. Once the disk has been re-scanned, you can confirm the increase size by using below command. Device mapping can be seen by “lvs” command.ģ. Here, sdc is the disk which corresponds to particular filesystem and is used just for example. You can identify the corresponding VMDK disk by reading our tutorial.Ģ. First of all, login to vSphere client and increase the size of the vmdk disk as per your requirements. Steps to Extend the Filesystem using the pvresize commandġ. If disk is already having the partition’s better to use method 1 or 2. Note: The disk should be not partitioned like sdc1, sdc2, etc. In this tutorial we are going to teach you method number 3 and you will learn how to extend the filesystem using pvresize command. Iii) By extending the size of the vmdk from vSphere and then using the pvresize command to increase the size of the PV and then the existing filesystem.
