• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

Removing disk and vmdk from server

Hi, we have a Windows 2012 R2 Datacenter VM which has a 1TB .vmdk assigned to it which we would like to delete and also remove from datastore? What is the best way to do this without rebooting the VM?

TIA
0
abhijitm00
Asked:
abhijitm00
  • 2
  • 2
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Right Click the VM, select Edit Settings, Click the Hard Disk, select REMOVE

then Select Remove from Virtual Machine and Remove files from disk.

This will remove the virtual disk from the VM, and delete from datastore.

This can be done whilst the VM is ON.

Remove-disk
0
 
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
What version of vSphere are you using?

There is no downtime from vSphere 4.1 when removing the vmdk and the datastore.
0
 
abhijitm00Author Commented:
Thanks Andrew and how can we remove this from the OS? Currently there is a drive letter attached to this disk in the OS
0
 
abhijitm00Author Commented:
Emannuel - it is 5.5
0
 
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Yes, that's fine then.

Andrew post will resolve the it.

As long as you remove it as shown in Andrew reply it will be removed from your server.

Just go to the device manager and rescan or refresh.

Regards
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now