Solved

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

Posted on 2012-03-19
2
914 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Fine Tune your automatic Updates for Ubuntu / Debian
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

623 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