

Lvextend -L10G /dev/VolGroup00/LogVol01 (extend your logical volume by 10GB)ġ. Vgextend VolGroup00 /dev/sdb1 (extend your volume group onto the new drive)
ADDING MORE DISK SPACE TO LINUX VM 64 BIT
Pvcreate /dev/sdb1 (create physical volume) Check for if we are running a 64 bit kernel (it is needed for handling >2TB disk sizes) uname -a. Now create a file system on this parition: Use fdisk to create new partition(s), make sure to mark them as LVM parititions (8e) The exact steps will vary depending on your system configuration (with or without LVM):ġ. After adding the Hard disk to VMware/vSphere/vCenter it looks like this. In the vSphere Client inventory, right-click the virtual machine and select Edit Settings. Next you need to change the size available to the OS. Log into the vCenter Server using the vSphere Client. First you must use the edit hardware option in the CloudShare Dashboard to increase the hard drive size as above. Here are some instructions for modifying Linux partitions. There is an excellent guide located here.Ĭonsider the first step, 'How to expand disk capacity for vmware linux virtual machine' already completed when you add disk space from the CloudShare UI.Īlternatively, you can use Parted or a similar application. There are different options available for resizing a HDD in Linux.

Select the size you wish to allocate and click ‘Next’:įinish the process and you will see the extra space assigned to your main partition.įinally, take a snapshot to your CloudShare Environment ensure your new settings are saved. To expand the Hard Disk, Right Click on your Virtual Machine>Click on Settings>Select SCSI>Select the Virtual Hard Drive that you want to. Depending on your use of the VM, you should be able to decide pretty easily if you can predict the physical storage space needed. Once in, Right-click on the main partition and select ‘Extend volume…’
ADDING MORE DISK SPACE TO LINUX VM WINDOWS
Remember: if you edit your disk size, you will have to partition your hard drive accordingly.Īccess the ‘Disk Management’ utility, either by searching for it in Windows search or running the following from 'Run' or CMD: diskmgmt.msc Then, click ‘Save changes’ and your environment will begin updating. Use this cautiously and do this in small increments when you need the space as you can not shrink the volume once the changes are saved: Click on the Disk edit icon, then use the slider to reallocate more drive space.

Once you are in the edit hardware page, you can edit the available resources. For more information, refer to the following. To access this functionality, bring up your environment and navigate to the ‘Edit hardware’ page: You must increase disk space on most cloud and hypervisor platforms, if you want to provision multiple modules. Increasing the disk size of your virtual machineĬloudShare supports editing your virtual machine hardware and increasing the disk, RAM or number of CPUs.
