Solved

Increase the hard disk size of a linux VM

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

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Using a software based iSCSI solution, there is no requirement to purchase a hardware iSCSI initiator or TOE (TCP/IP Offload Engine) interface card. A standard network interface card can be used to connect an existing ESXi server to a remote iSCSI t…
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
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…

707 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

17 Experts available now in Live!

Get 1:1 Help Now