Solved

Increase the hard disk size of a linux VM

Posted on 2014-01-09
2
342 Views
Last Modified: 2014-01-23
Dear Experts,
 Need to increase the hard drive size of a linux virtual machine. Please advice on the best practice. Thank you.
0
Comment
Question by:jramprakash
2 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 39767731
First it depends on what hypervisor you are using. Most of them allow you to edit the settings of your VM (when shutdown), and for example allocate more space to the virtual disk. Once that is done, boot the VM using a LiveCD like GParted, or some other partitioning utility and use that to increase the size of the partition(s) to fill up the newly gained space:

http://distrowatch.com/table.php?distribution=gparted

After that you can boot back into your Linux OS and the new space should be available.

It can also depends a little on your Linux distro and how it was installed. For example if it is setup with LVM, you should be able to increase the size while the OS is running (but I don't use LVM and don't have any experience with it. You would have to search online yourself for more details on that).

Another method is to use VMware's vCenter Converter Standalone, with which you can move the old VM to a newer, larger one:

https://my.vmware.com/web/vmware/info/slug/infrastructure_operations_management/vmware_vcenter_converter_standalone/5_5
0
 

Author Closing Comment

by:jramprakash
ID: 39805513
Thank you Rindy.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

932 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

10 Experts available now in Live!

Get 1:1 Help Now