Hi Friend,
You might have come across this blog post. This matches the problem that you are facing: Best Practice: How to correctly remove a LUN from an ESX host | VMware vSphere Blog - VMware Blogs
Below KB may help you as well:
VMware KB: Removing a LUN containing a datastore from VMware ESXi/ESX 4.0 and 4.1