Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter

Problem:

How do I safely remove a datastore for a single host without affecting any other storage devices?

Solution:

1. Open vCenter click on datastore to be removed and click Actions

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-1

2. Click Unmount Datastore

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-2

3. Choose the host to remove from and click OK

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-3

4. Datastore is unmounted

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-4

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-5

5. Go to Hosts and clusters and select the host you unmounted from

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-6

6. Select the disk and click detach

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-7

7. Click Yes

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-8

8. Task is completed

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-9

9. Change the heartbeat datastores if needed

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-10

10. Login to the SAN and identify the Initiator groups of the hosts you just removed the storage from.  This LUN has two groups

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-11

11. You can immediately see the hosts we removed the storage from and need to remove these from the initiator group

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-12

12. To be on the safe side check the initiator in vCenter

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-13

13. We can see this ties up with the ones we want to remove

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-14

14. Remove the initiators
Confirm the warning

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-15

15. Select the cluster and click Rescan Storage

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-16

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-17

The datastores should disappear

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-18

Safely Remove a Datastore for an Individual VMware ESXi Host using vCenter-19

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *