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