[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Increase the hard disk size of a linux VM

Posted on 2014-01-09
2
Medium Priority
?
372 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
[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 88

Accepted Solution

by:
rindi earned 1500 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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 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.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

650 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