1) Note datastore identifier
2) Delete datastore
3) unmount the LUN
4) detach the LUN from your ESXi
5) from ssh terminal on each server run commands
- run command :”esxcli storage core device detached list”
output will bee similliar to
Device UID State
———————————————————————-
naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx off
- run command “esxcli storage core device detached remove -d naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
6) Rescan HBA
That’s all folks!