Solved

VMware ESX 4 expanding an IDE Drive

Posted on 2010-11-09
7
827 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
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

760 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

20 Experts available now in Live!

Get 1:1 Help Now