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

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...