Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
917 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 123

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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

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.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

688 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