Solved

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

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

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 300 total points
Comment Utility
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
Comment Utility
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 Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Is this bug still active in RHEL 2 28
Problem to start Neon 20 49
BASH script to modify crontab? 3 19
LINUX CENTOS + APACHE 9 31
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
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:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now