pgaltieri
Contributor
Contributor

strange issue with adding /deleting new virtual disks

I have a virtual machine to which I added 2 virtual disks which I called opststorage-ubuntu-01 and opststorage-ubuntu-02.  I then added a third disk called opststorage-ubuntu-03.  I then removed disk 01., and it no longer shows up in the virtual machine settings. I then added another disk which I named opstorage-ubuntu-01, since having removed it previously I thought I could re-use the name.  This failed.  I got the message 

The path /run/media/pgaltieri/SDNVIRTLAB02/VirtulMachines/opststorage-ubuntu/opststorage-ubuntu-01.vmdk cannot be written to.

The problem is that the disk is still there.  In fact every drive that I created and then removed is still there.

I'm running Fedora 34 on the VM and on several occasions I got input/output error message when trying to access the new virtual disk which is what prompted me to remove the drive.

So why does choosing to remove a drive not actually remove it, and is doing an rm of the file(s) sufficient?

Paolo

Labels (1)
  • i

Reply
0 Kudos
a_p_
Leadership
Leadership

Unlike ESXi, VMware Workstation unfortunately has no option "Remove from virtual machine and delete from disk" when you remove a virtual disk from a VM's configuration, which means that you need to delete the virtual disk file(s) manually.

André

Reply
0 Kudos