Delete unused virtual disk from harddrive

I want to remove 200 gig virtual disk from a virtual machine, to free up physical space back.

I have attempted the following Steps but with no luck:
1. Remove it from the Hardware list (under Virtual Mahcine settings)
2. Delete old snapshots and that might include that virtual disk
3. After steps 1 and 2 , manually deleted the files

Each time I do step 3 the virtual machine wont run it says it is unable to locate the 200 gig virtual disk.

Quick Computer Specs:
-Workstation 7
-Windows XP Pro (32 bit)
-200 gig virtual disk (split into 2 gig files, preallocated )
 
What step am I missing. I realize  this should be easy.
GTTech2010Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
It is just a virtual machine, so if you don't want it (as you say), locate the folder where your virtual machines are kept. One folder will be the one you don't want. There will be files in that folder unique to the machine you don't want. Just delete the folder.  If it is too big for your recycle bin, use shift-Delete to simply delete.
... Thinkpads_User
0
GTTech2010Author Commented:
Maybe it will help if I clarify, I want to remove a virtual drive from a virtual machine. (I to physically delete the virtual drive files without hurting the virtual machine.)
0
webbster20Commented:
Did you dismount the disk from inside the VM?

Go into the VMs properties

Remove the entry to have that vHDD accessed

Boot VM, ensure it's gone

Then, delete the disk itself.

I don't have esx readily available now to play with, only a prod server over in the corner. Vmware workstation and esx have similar interfaces, I believe there's an area where you can manage disks.

I will play with this in a bit, if you'd like to try and repro this issue.

However, if this is ESX, I recommend a ticket with Vmware if possible.
0
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

JohnBusiness Consultant (Owner)Commented:
What do you mean by a virtual drive? Virtual Machines have real drives (that is, real to the VM). Did you add additional drives under the hardware setting? Snapshots have a different name that the main machine, but you might have deleted the main file.

Make a new folder (new name) in your main folder of VM's. Now copy the virtualmachine.vmdk file(s) to that new folder. Copy the virtualmachine.vmx file to the new folder as well. Now try to open the VM by navigating to the new folder.

If there is no .vmdk file(s) or .vmdk main file(s), then you may not have file.
... Thinkpads_User
0
GTTech2010Author Commented:
I have created a picture to better explain my situation.

Please read.
I am using VMWARE WORKSTATION 7.  My virtual machine works until I manually delete the files referencing an old virtual drive. I want to delete these files so I can get space back. The files as show in the picture are for a 200 gig pre-allocated drive.

vmwarepic2.JPG
0
JohnBusiness Consultant (Owner)Commented:
I think it is game over for your machine. You have deleted a main component of your machine and now it is lost. I do not think you can save your machine, so you might as well rebuild it from scratch.  I cannot see any other course from the picture above and your description. Byt the way I am using VMware Workstation 7 as well.  ... Thinkpads_User
0
GTTech2010Author Commented:
Maybe if I say it like this

My virtual machine is not broken it works fine until I have deleted the fore mentioned files (from picture above) .

I have tried numerous ways to properly remove the 200 gig virtual drive.

Each time I do, The Virtual machine then looks for the 200gig virtual drive.
(I restore from a back up and try something new, Once again my virtual machine is then working.)

I want to know how to properly remove the 200 gig drive, so that the virtual machine stops looking for it. and it is not taking up disk space.

thanks for your previous suggestions
0
JohnBusiness Consultant (Owner)Commented:
Your picture says that you pre-allocated the disk space when making the machine. That means that VMware sets aside that amount of space on the real disk for the virtual machine. At least it always has done that in the past, and most likely V7 is doing the same thing. I think that is why your machine is working, but when you attempt to delete a piece of it, it can no longer function.

Go to the VMware site and lookup Vcenter Converter V4. It is free. I have used this to make machines bigger (10GB XP machine not preallocated to a 50GB machine not preallocated). Perhaps you can use this in reverse and (1) make it smaller and (2) "un" preallocate it. I never preallocate disk space.
... Thinkpads_User
0
GTTech2010Author Commented:
I will try this suggestion to see if it works. It will take up to 24 hours.
Thanks so far for your suggestions.
0
GTTech2010Author Commented:
Unfortunatly, none of the suggestions worked. Thanks any way.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GTTech2010Author Commented:
None of the suggestions worked.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.