Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to increase the VM space for linux ubuntu server when space available on datastore

Posted on 2012-03-19
2
Medium Priority
?
918 Views
Last Modified: 2016-11-23
Dear Experts:

Installed vm ware vsphere 5 on dell R 710 created two raid hence possible for two datastore in one datastore stored 02 vms of guest OS ubuntu linux server allocated space for both vms are almost utlized but still there is a space available on the same datastore hence increased the vm disk space by clicking on the edit of vm but this has not actually increased the space of VM, think should increase the filesystem or no idea please suggest how to increase the space for the VM, this is production server request you please help me with how to docs. Thanks in advance.
0
Comment
Question by:D_wathi
2 Comments
 
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1200 total points
ID: 37738755
Resize disk in VMware changes the virtual disk size, but it does not change the OS Partition.


Before making any changes to the partition structure of the disk, ensure you have a full backup, not a snapshot.

1. Resize partition with Gparted Live CDROM

i. Download Gparted Live CDROM (http://gparted.sourceforge.net/livecd.php).

ii. Upload the cdrom iso to the vSphere ESX/ESXi datastore.

iii. Mount the cdrom or iso on the virtual machine.

iv. Shutdown and restart the virtual machine booting from the cdrom.


v. Select Resize partition.

Here is a Tutorial Walkthorugh of how to resize a partition with a GParted Live CDROM

http://gparted.sourceforge.net/larry/resize/resizing.htm

http://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/
0
 

Accepted Solution

by:
infradium earned 800 total points
ID: 37738808
If you are using LVM filesystems, you should create a new partition, add it to the Volume Group, extend the Logical Volume and then resize the corresponding filesystem.

Another solution is to use a GParted live CD to increase VM disk size.

As this is a very common problem, there are lots of how-to docs in the internet [0] [1]

You should have a backup copy of your VM, in case something goes wrong.


[0] http://expectus.hubpages.com/hub/How-to-Increase-VMware-Hard-Disk-Space
[1] http://www.cyberciti.biz/tips/howto-resize-vmware-virtual-harddisk-size.html
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question