How to verify esxi is physical or nested virtual

Once you login to ESXI through ssh, We can findout the esxi is nexted virtual or physical hardware using below command


esxcli hardware platform get



1) if its nested esxi:  Vendor name will be "Vmware inc"

Platform Information
   UUID:
   Product Name: VMware7,1
   Vendor Name: VMware, Inc.
   Serial Number: VMware-
   IPMI Supported: false


2)If its phsical hardware: Vendor Name will be hardware model

 Product Name: PRIMERGY RX2530 M2
   Vendor Name: FUJITSU

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

Restart iscsi software service in esxi

To restart the software iSCSI stack ,we have to follow below steps

  1. Disable the software iSCSI :
    esxcfg-swiscsi -d
  2. Terminate the software iSCSI processes with the command:
    esxcfg-swiscsi -k

    In some cases, the iSCSI stack is in an unresponsive state and does not terminate on this command. If this happens, you must find the process ID and issue a terminate command directly to the operating system for this process.
    1. Obtain the process ID for the vmkiscsi processes with the command:ps ax | grep vmkiscsid
    2. Terminate the process with the command:
      kill <process ID>
  3. Enable the software iSCSI configuration with the command:
    esxcfg-swiscsi -e
  4. Perform a rescan of the software initiator with the command:
    esxcfg-rescan vmhba40

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...