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
Solved

Extend partition of Ubuntu VM running on VMware

Posted on 2013-11-07
3
342 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux boot cd to do hardware report on PC? 3 57
host cache 3 52
Same network with one NIC each in VMware 6 53
ESXi 5.1 to 6.5, problems when add VMs to inventory 4 39
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
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 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 …
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…

856 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