VMware vSphere

 View Only
  • 1.  How To Remove an Abandoned Datastore?

    Posted Jul 17, 2013 05:44 AM

    Hi There! I am the IT Systems Administrator for my organization where we have HP P6300 storage connected to our ESXi5 cluster. Usually, if we require a new Vdisk for any VM, we create a new vdisk in storage and add it as a new datastore in the Vsphere, then we create the vmdk file inside that new data store. I was to remove one disk from one virtual server. The steps i follow are as below:

    1- Remove data from disk

    2- Remove disk from virtual machine and delete vmdk file

    3- Remove data store from the data store cluster

    4- Unmount datastore

    5- Delete the data store from vCenter (Inventory \ Datastores and Datastore Clusters \ Right Click on Datastore and Delete)

    6- Unpresent the vdisk from ESXi hosts

    7- Delete the vdisk from storage manager.

    But i made a mistake and missed STEP No. 4 and 5.

    Now i can see the attached message whenever i try to remove it. Any guidelines to solve this problem and remove this missing datastore from the vCenter?

    Thanks

    Ali



  • 2.  RE: How To Remove an Abandoned Datastore?

    Posted Jul 17, 2013 06:02 AM

    Can you try restarting mgmt agent and remove

    /etc/init.d/hostd restart

    /etc/init.d/vpxa restart



  • 3.  RE: How To Remove an Abandoned Datastore?

    Posted Jul 17, 2013 08:06 AM

    Hello Mustafa,

    Thanks for the help but I am not so good in Linux and managing the vCenter through Windows GUI...any explanation or reference to this please?



  • 4.  RE: How To Remove an Abandoned Datastore?

    Posted Jul 17, 2013 07:21 AM

    Can try to detach the LUN from storage view ?

    Regards,

    Julien.



  • 5.  RE: How To Remove an Abandoned Datastore?

    Posted Jul 17, 2013 08:07 AM

    Hi Julien,

    Seems helpful but this is what i am getting to see in my vCenter manager...



  • 6.  RE: How To Remove an Abandoned Datastore?
    Best Answer

    Posted Jul 17, 2013 08:10 AM

    OK you have a dead paTh. The only way to fix that is to reboot the host.

    regards,

    julien



  • 7.  RE: How To Remove an Abandoned Datastore?

    Posted Jul 17, 2013 09:01 AM

    julienvarela Mustafa

    Thanks for your help guys.

    I rescanned all the data stores and devices from configuration tab and tried to delete the datastore and whoop...its gone. Thanks for your help though. It was prompt.

    Cheers.

    Ali



  • 8.  RE: How To Remove an Abandoned Datastore?

    Posted Jul 17, 2013 08:15 AM

    Do you have ssh access to ESXi host or can you access iLO of the host.

    Below KB should help you.

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003490