With the increase of the system operation time, the disk becomes more and more loss, if encounter the virtual machine report disk space is insufficient what to do? Fortunately, we can increase the disk space through the disk array and then expand to the virtual machine.
For the Linux virtual machine disk expansion of the scheme there are two, one is the original physical machine has enough hard disk, we can directly adjust the existing virtual machine disk, or a new one to add a disk, and the second, if the original disk is not enough space, can only be processed by adding a new disk. But in fact, both of these ways to increase the disk, you need to mount in Linux, the expansion operation. It is not possible to work through VMware vSphere client clients. See following: Linux disk expansion LVM
Next, we'll talk about how to do VMware VSphere client operations to extend a disk into a virtual machine.
Plan to adjust the size of the disk
Resizing a virtual machine's hard disk requires first ensuring that the virtual machine does not take a snapshot, and the second virtual machine is turned off before you can resize the virtual machine hard disk.
This can only be adjusted to a larger size, not kid the disk.
Scenario Two adding a piece of disk
First, open the VMware vSphere client and log in and select the virtual host you want to modify
Second, open the "Resource Allocation" section and select Edit
Third, after clicking "Edit" appears
Here, select the Add button,
Note: If you want to "remove" here, we can select the disk to delete, click the "Remove" button and select "Remove from virtual machine and delete files from disk" option ~ "
Select "Hard Disk", Next, select "Create a new virtual disk"
Click Next, select the disk size, here we enter "80G"
Finally click Finish. are displayed
Here, "adding" is displayed, and when added, it appears as follows:
At this point, the representative has been added!
Here's how to extend a disk on Windows Server to do an introduction
Windows Server Extended Disk
Log in to the Windows Server virtual machine and initialize with Disk Manager. The steps are as follows:
First, turn on Computer Management, click on "Storage" in the "Disk Management";
Second, we can see that the new disk space is as follows:
Where the red flag of "Disk 2" is just added to the space;
Third, click "Disk 2", right click, select "Initialize Disk",
Four, click "OK", select "Unassigned" on the right, right click, select "New Partition", click "Next", select "Primary Partition", select the partition size, assign the drive letter, and finally select "Finish".
Linux Extended Disk
See Linux disk expansion LVM specifically
How to increase virtual machine disk space under VMware vSphere client