peterfarge
Contributor
Contributor

Delete a disk with Workstation 9

Jump to solution

Hello Forum,

I had to extend the disk space temporally by adding additional disks. Now I want to delete them. But it seems that Remove from the VMWare settings does not delete the disk from HD. A internet search says that this can be only done manually. How can I identify which files are part of which disk? (I'm using snapshots)

My main disk that should NOT be delete has the name "Win2012 Clnt-000005.vmdk". The disk I want to delete is "Win2012 Clnt-0.vmdk". There was a preallocated disk with the name "Win2012 Clnt-1.vmdk". I think I have deleted the preallocated. How can I delete the Clnt-0?

I have attached the content of the dir command.

Thanks

Peter

1 Solution

Accepted Solutions
a_p_
Leadership
Leadership

Welcome to the Community,

the best way to find out which virtual disks are in use is to take a look at the VM's vmware.log file. Please remember that you may not be able to revert to a previous snapshot if the virtual disk you are going to delete was attached to the VM while it already had snapshots (the .vmsd file will show which files are required).

Anyway, what I would recommend is - rather than deleting the files right away - to move them to a new sub-folder to see whether the VM powers on properly. If everything still works as expected and all your files are available, you may then delete the sub-folder with the moved files.

André

View solution in original post

2 Replies
a_p_
Leadership
Leadership

Welcome to the Community,

the best way to find out which virtual disks are in use is to take a look at the VM's vmware.log file. Please remember that you may not be able to revert to a previous snapshot if the virtual disk you are going to delete was attached to the VM while it already had snapshots (the .vmsd file will show which files are required).

Anyway, what I would recommend is - rather than deleting the files right away - to move them to a new sub-folder to see whether the VM powers on properly. If everything still works as expected and all your files are available, you may then delete the sub-folder with the moved files.

André

View solution in original post

peterfarge
Contributor
Contributor

Thanks for the answer Smiley Happy

Now I understand: I have to open the vmdk file as a text file and there I can find which files are connected to this drive. The drive isnt part of any snapshot. But to make sure that the VM is still intact, I will do a reboot.

0 Kudos