Solved

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

Posted on 2012-03-19
2
910 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 121

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 300 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 200 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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

729 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