Solved

Increase the hard disk size of a linux VM

Posted on 2014-01-09
2
345 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

831 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