VMware Cloud Community
Iwawa
Enthusiast
Enthusiast
Jump to solution

Add iSCSI Datastore

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

0 Kudos
3 Solutions

Accepted Solutions
Iwawa
Enthusiast
Enthusiast
Jump to solution

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

View solution in original post

0 Kudos
fabio1975
Commander
Commander
Jump to solution

What result did the VMKPING command give you?

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

fabio1975_0-1616599605173.png

Ciao 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

View solution in original post

0 Kudos
Iwawa
Enthusiast
Enthusiast
Jump to solution

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

View solution in original post

0 Kudos
5 Replies
fabio1975
Commander
Commander
Jump to solution

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

 

 

 

 

 

 

 

 

 

 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

0 Kudos
fabio1975
Commander
Commander
Jump to solution


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

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

0 Kudos
Iwawa
Enthusiast
Enthusiast
Jump to solution

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

0 Kudos
fabio1975
Commander
Commander
Jump to solution

What result did the VMKPING command give you?

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

fabio1975_0-1616599605173.png

Ciao 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

0 Kudos
Iwawa
Enthusiast
Enthusiast
Jump to solution

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

0 Kudos