Method 2 - Expanding the Existing Virtual Disk

Note

A virtual machine’s hard disk cannot be expanded (edited) when the VM contains a snapshot. The snapshot must be deleted in VMware before expanding the existing virtual disk. Alternatively, you may follow Method 1 - Adding a Second Virtual Disk (.vmdk) to add a new “physical” disk.

This method requires that the existing virtual disk (HDD) size has already been edited (expanded) using the CML server’s virtual machine settings.

Procedure


Log into the System Administration Cockpit as the system administrator account. See Logging into the System Administration Cockpit.

Click Storage in the navigation bar on the left side of the page.

Edit Volume Group. Click cl volume group shown in the Volume Groups box.

Selecting the volume group on the Storage page

Selecting the volume group on the Storage page

Add Physical Volume. In the Physical Volumes box, click the + button to

add the new virtual hard disk.

Grow Logical Volume dialog

Grow Logical Volume dialog

Select Disk. Select the new unpartitioned space and click Add. Note:

disk will be marked as /dev/sda.

Add Disks dialog

Add Disks dialog

Set the size of the logical volume by following the steps from step 6 to the end of the instructions for adding a virtual disk. See Method 1 - Adding a Second Virtual Disk (.vmdk).


The Logical Volumes area should now report the new total size. The new disk size is also shown in the Dashboard.