how to Remove unmounted/inaccessible datastore from ESXi Host

  • Login to esxi with ssh

  • Find the datastore id using:
    esxcli storage core device list

  • Now  find out „naa.“ of unmounted/inaccessible datastore

  • remove the lun id:
 esxcli storage core device detached remove -d naa.600000e00d00000000010bc100000000

  • rescan hba:
   esxcli storage core adapter rescan --all

No comments:

Post a Comment

how to unlink a NIC from a esxi vSwitch

  List the vSwitches from ESXI using CLI:          esxcli network vswitch standard list  output example: vSwitch0    Name: vSwitch0    Class...