VMware how to delete disks from HOST (not the VM) Solved

  1. jimbo45's Avatar
    Posts : 7,135
    Windows / Linux : Centos, Ubuntu, OpenSuse
       #1

    VMware how to delete disks from HOST (not the VM)


    Hi folks
    there's plenty of info about removing a Virtual disk from a VMware VM but this just removes the virtual HDD from the VM but doesn't actually delete it from your Host disk.

    What you have to do is go into the VM file itself for the VM and once you've ascertained which disk it is you then delete all the files with a name for example

    vmname -0-s001.vdmk
    vmname -0-s002.vdmk etc

    also delete the definition file
    vmname -0.vdmk

    (note there might not be a number if it's the initial (original) Virtual HDD you want to delete -- e.g vmname-s001.vdmk etc and vmname.vdmk)

    This can be useful if you change around virtual HDD's in a VM and want to get rid of one's you've removed. I wanted to change some SCSI virtual HDD's to SATA and move the VM to smaller disks (compacting HDD's doesn't delete surplus space from HOST).

    To find out the actual HDD that is being used for boot for example in my case : it's this one

    vmname -0.vdmk

    so I delete all the other ones -- freed up over 100GB on HOST getting rid of unused VHD's.

    Click image for larger version. 

Name:	snapshot20.png 
Views:	0 
Size:	155.8 KB 
ID:	226628

    Note - this deletes the VHD's from the HOST - to delete from the VM just use the delete in the VM menu --note to repeat deleting a VHD from the VM does NOT delete the files from the host - to do that use method as I've shown.

    Incidentally you can move existing VHD's between VM's by just in the VM hardware add hard disk -->use existing VHD. Point to the definition disk e.g vmname -0.vdmk i.e the one without any s001, s002 suffixes.

    Cheers
    jimbo
    Last edited by jimbo45; 08 Mar 2019 at 06:32.
      My ComputerSystem Spec


 

Related Threads
Hi there I have 3 computers -- one Linux HOST and two W10 HOSTS. I have a number of VM's usually using BRIDGED mode but my W7 VM only seems to work when it's using NAT. Now in NAT it only sees the HOST machine on the network. It can't see any...
running W10 as a GUEST on VMware WKS 11 / vmplayer 7 message is no 3d support from Host. However the VM seems to work perfectly and I'm not getting as far as I can see any degradation on graphics --play an old game like spider solitaire - if the...
Hi there. While we are on a Windows Forum I know some people run Linux here - so if you find that Workstation or Player (VMWARE) 11 / 7 doesn't work properly on a LINUX HOST (I've still got problems with Unity and random freezes running Windows...
Hi there installing VMWARE workstation on W10 HOST machine -- (VMware workstation version 10). NAT and Bridged adapters don't work - anybody else had any luck (or with VMware player). (W10 x-64 Enterprise version). Cheers jimbo
Hi there trying various VM's on a HOST W10 under VMWARE WORKSTATION 10 -- (XP / W7 / W8.1 / W10 / Linux ) -- all these fail to start network either in BRIDGED or NAT mode. If the HOST is now a W8.1 system connections all work for these...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:48.
Find Us