Solved

Extend partition of Ubuntu VM running on VMware

Posted on 2013-11-07
3
339 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
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…

772 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

9 Experts available now in Live!

Get 1:1 Help Now