Solved

Extend partition of Ubuntu VM running on VMware

Posted on 2013-11-07
3
340 Views
Last Modified: 2013-11-19
Hi All

We have an Ubuntu VM running on a VMware ESXi host, the VM has 2 Virtual Hard drives, first I guess is for the OS, 2nd of which is for the data, its the data disk that I have been asked to extend, sadly I know more about brain surgery than I do Linux so I'm hoping someone can help me here,

In windows I would just extend the VMDK size in the settings of the VM and then in Windows disk manager right click and extend the volume, is there a similar way of doing it in Linux?

Many Thanks,
0
Comment
Question by:ncomper
3 Comments
 
LVL 9

Accepted Solution

by:
dipopo earned 500 total points
ID: 39629900
Increase the disk size in VMware and then use Lvextend very straight forward.

lvextend -L12G /dev/myvg/homevol [-L"new size"]

http://www.tldp.org/HOWTO/LVM-HOWTO/extendlv.html
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 39630407
the previous comment is referring to logical volumes though you didn't mention the partition layout.  are you using logical volumes?  if you're not sure, please post the output of df -h
0
 
LVL 5

Author Closing Comment

by:ncomper
ID: 39659693
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

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

18 Experts available now in Live!

Get 1:1 Help Now