[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Extend partition of Ubuntu VM running on VMware

Posted on 2013-11-07
3
Medium Priority
?
359 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 2000 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 36

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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 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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

873 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