I have added an iscsi LUN to ESXi host. I can see the device had been found . but I don't know how to add the storage into Datastore with ESXcli.
vi-admin@localhost:~[192.168.0.200]> esxcli storage core device list
naa.600140597d318d3dc4dfd3d6ad84f3d8
Display Name: SYNOLOGY iSCSI Disk (naa.600140597d318d3dc4dfd3d6ad84f3d8)
Has Settable Display Name: true
Size: 33792
Device Type: Direct-Access
Multipath Plugin: NMP
Devfs Path: /vmfs/devices/disks/naa.600140597d318d3dc4dfd3d6ad84f3d8
Vendor: SYNOLOGY
Model: iSCSI Storage
Revision: 3.1
SCSI Level: 5
Is Pseudo: false
Status: degraded
Is RDM Capable: true
Is Local: false
Is Removable: false
Is SSD: false
Is Offline: false
Is Perennially Reserved: false
Queue Full Sample Size: 0
Queue Full Threshold: 0
Thin Provisioning Status: unknown
Attached Filters:
VAAI Status: supported
Other UIDs: vml.0200000000600140597d318d3dc4dfd3d6ad84f3d8695343534920
Is Local SAS Device: false
Is Boot USB Device: false
vi-admin@localhost:~[192.168.0.200]>