When removing a hard disk from a VMWare ESX virtual machine running Windows, is it best practice to shut down the server first or is there a minimal risk (if the drive is not being written to at the time of removal; drive being non-OS drive) by keeping the server online. I have previously kept servers online with no damage when moving a hard disk from one VM to another but that got me thinking about best practices.
- Open Disk Management or Diskpart
- Take needed disk offline
- Open VM Settings in ESXi
- Remove Disk from VM without deletion from datastore
- Add existing disk to needed VM.