OnWorks favicon

iscsi-inq - Online in the Cloud

Run iscsi-inq in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command iscsi-inq that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



iscsi-inq - Utility to request INQUIRY data from an iSCSI LUN


iscsi-inq [ OPTIONS ] <ISCSI-URL>

iscsi-inq [-i --initiator-name=<IQN>] [-e --evpd=<INTEGER>] [-c --pagecode=<INTEGER>]
[-d --debug=<INTEGER>] [-? --help] [--usage] [<ISCSI-URL>]


iscsi-inq is a utility to request INQUIRY data from an iSCSI LUN.


iSCSI URL format is

Username and password are only required if the target requires CHAP authentication.
Optionally you can specify the username and password via the environment variables

Host can be specified either as a hostname, an IPv4 address or an IPv6 address. Examples:

iscsi://ronnie%[email protected]/iqn.ronnie.test/1

Port is the TCP port on the target to connect to. Default is 3260.

Target-iqn-name is the iqn name of the target. An iSCSI portal can have multiple targets
defined. Use iscsi-ls to list all targets available on one specific portal.

LUN is the LUN number to report the INQUIRY data for.


-i --initiator-name=<IQN>
This specifies the initiator-name that iscsi-inq will use when logging in to the

The default name is 'iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-inq' but you can
use this argument to override this. This is mainly needed for cases where the target
is configured with access-control to only allow discovery logins from known

-e --evpd=<INTEGER>
By default iscsi-inq will display the standard inquiry data. Specify evpd as 1 to
display extended VPD pages.

-c --pagecode=<INTEGER>
This argument specifies which VPD page to display when evpd is requested. Default is
0x00 which represents SUPPORTED VPD PAGES.

This argument can only be used when evpd is set to 1.

-d --debug=<INTEGER>
Debug level.

-? --help
Display basic help text.

Display basic usage text.


To print the standard INQUIRY page:

iscsi-inq iscsi://

To list available pages:

iscsi-inq -e 1 iscsi://

To show a specific page:

iscsi-inq -e 1 -c 0x80 iscsi://

Use iscsi-inq online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands