vSphere Storage Appliance

 View Only
  • 1.  Add iSCSI Datastore

    Posted Mar 24, 2021 09:19 AM

    Hi,

    I am creating a small laboratory with ESXi 7; everything is going fine, but I have a problem with installing a storage via iSCSI.

    I have created and configured a new adapter as in the image

    Configure_iscsi.png

    When i Add dynamic target, it seems that the device is discovered regularly but I don't see it in the device tab.

    Look at this image

    disk.png 

    I see only CD-ROM and the datastore1. I tried rescan and also rebooted the system but without success.

    Can someone help me? Is there a way to know (eg via ssh) if the storage has been installed?

    Thank You and Best Regards

    Gaetano



  • 2.  RE: Add iSCSI Datastore

    Posted Mar 24, 2021 11:53 AM

    Ciao 

    I have had a similar problem in the past, in my case the cause was due to the properties of the storage side volume. However you can use this command, to be launched once connected via ssh to the ESXI host,

    esxcli storage core path list

    In my case I had such a situation in the output

     

    fabio1975_2-1616586435475.png

    I also had an error in the following log:

    vmkernel.log

     

    fabio1975_3-1616586546081.png

    so the error was the sector size of the Volume.

    So try to run the command and check the logs (after running a scan) if you find any errors

    Another thing uses the vmkping command to see if there is communication between the VMK and the iscsi storage
    info on VMKPING in this KB
    https://kb.vmware.com/s/article/1003728

     

     

     

     

     

     

     

     

     

     



  • 3.  RE: Add iSCSI Datastore

    Posted Mar 24, 2021 11:55 AM


    In your case the vmkping command is
    vmkping -I vmk1 192.168.1.20



  • 4.  RE: Add iSCSI Datastore
    Best Answer

    Posted Mar 24, 2021 02:57 PM

    Ciao Fabio

    Thank You for reply.

    I run the command, but the result is

    esxcli.png

    In the list I have only the cdrom and the system datastore.

    Since my small infrastructure consists of three nodes, I have also tried with the others but I have the same result.

    Have you other ideas?

    Gaetano



  • 5.  RE: Add iSCSI Datastore
    Best Answer

    Posted Mar 24, 2021 03:28 PM

    What result did the VMKPING command give you?

    Have you enabled the ISCSI TCP port on the ESXi firewall?

    fabio1975_0-1616599605173.png

    Ciao 



  • 6.  RE: Add iSCSI Datastore
    Best Answer

    Posted Mar 25, 2021 06:59 AM

    Ciao Fabio,

    I solved the problem. I had an incorrect Port group configuration on the Netgear NAS, as you can see in the image; "Any" must be checked.

    lungroup.png

    Now all work fine.

    Thank you for help and best regards.

    Gaetano