Solved

VMware ESX 4 expanding an IDE Drive

Posted on 2010-11-09
7
850 Views
Last Modified: 2012-05-10
I found an article on how to do this, but one of the steps is to edit the vmdk file and tell it that it is a lsilogic drive instead of an ide drive, and when I find the vmdk file and try to edit it with vi I get a "Permission Denied" error.  I am trying to edit the right vmdk file, not the large flat file with the data, but the vmdk file with the information about the disk.  The article I am following is this one.

http://claykinney.blogspot.com/2010/06/vmware-esxi-4-increase-ide-drive-size.html
0
Comment
Question by:jpletcher1
[X]
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
7 Comments
 
LVL 5

Expert Comment

by:ploftin
ID: 34095678
Did you stop the VM before attempting this process? The VM must be stopped to edit the VMDK.  In fact, if ANY VM has that VMDK mapped, they must all be stopped before you can edit the VMDK file.
0
 

Author Comment

by:jpletcher1
ID: 34095851
I cloned the machine that I want to do this to, and I'm using the cloned vm to test this process on first.  It is shut down yes.  The vmdk file should only belong to the clone vm.
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 125 total points
ID: 34096202
So you are trying to increase the size of your virtual disk? The simplest way is to use vCenter Converter Standalone tool (https://www.vmware.com/tryvmware/?p=converter&ie=UTF-8&rlz=1T4GGLL_enUS398US398&q=vcenter%20converter%20download) and change the disk size to the size you want.

Regards,
~coolsport00
0
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 

Author Comment

by:jpletcher1
ID: 34096222
Yes, I have done that before when I originally did a p2v with this machine, but after it is converted it breaks the licensing for the application that that is a pain to get re-done.  Maybe it wouldn't happen just going from a virtual machine to a virtual machine though.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 34096243
Hmm...that sucks. I don't recall hearing about that happening, but good to know that can happen when doing P2Vs. Well, it won't hurt to try it I guess...let me know how it goes. :)

~coolsport00
0
 
LVL 16

Assisted Solution

by:danm66
danm66 earned 125 total points
ID: 34097050
are you logged in as root or another user?  If you logged in as root, do a 'su -' to switch to root and try it again.
0
 

Author Closing Comment

by:jpletcher1
ID: 34124543
I got impatient and just used the standalone converter, and as expected the application broke and I had to re-license it.  Not a huge deal, but a pain.  The disk is resized though so that issue is out of the way.

Afterwards out of curiousity I double checked to see if I could edit the vmdk file again, but made sure I was logged in as root.  That was the issue as far as not being able to edit the file.  I was logged in with another user and didn't su - first.  

Thanks guys.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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 …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

739 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