How to remove unmounted/inaccessible datastore from ESXi Host

How to remove unmounted/inaccessible datastore from ESXi Host

if you have datastore which is unmounded or incaccessible, it not very easy to remove it. i tried „delete datastore“ from esxi host, but i got error. so lets try command line !

The „Remove datastore“ operation failed for the entity with the following error message.

unmounted/inaccessible datastore

enable ssh service on your ESXi host and use putty to find out „naa.“ of unmounted/inaccessible datastore

find datastore… in my case it was 7 TB LUN with naa.600000e00d00000000010bc100000000

to remove storage device use command esxcli storage core device detached remove -d

and IFN_DS3024_LUN2 is removed from ESXi host.

to rescan all HBAs use

1 komentář u “How to remove unmounted/inaccessible datastore from ESXi Host

  1. Subash Krishnan Reagovat

    Hi,
    Thank you for the steps. I had accidently removed a LUN from nimble storage without unmounting datastore. This has helped me to remove the stale entry. Thank you so much.

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *