iscsi_discovery(8)

๐ŸŽ€ NAME ๐ŸŽ€

Okay bestie, this is iscsi_discovery(8) from the System Manager's Manual ๐Ÿ’… It's the tool that discovers iSCSI targets โœจ

๐Ÿ”ฎ SYNOPSIS ๐Ÿ”ฎ

iscsi_discovery <IP> [-p <port>] [-d] [ -t <tcp|iser> [-f] ] [-m] [-l]

๐Ÿ’– DESCRIPTION ๐Ÿ’–

So basically, this tool does send-targets discovery to the IP you give it ๐Ÿฆ‹ If that makes a discovery record, it tries to log in to the portal using your preferred transport. The -t flag is how you pick the transport type, and TCP is the default ๐ŸŒธ If the login works on a transport, it marks the portal for automatic login (unless you use -m), and then it disconnects (unless you use -l) ๐Ÿซถ

Quick vibe check โš ๏ธ For iSCSI discovery to work, the open-iscsi services have to be running. That means iscsid should be up and the iSCSI modules should be loaded ๐Ÿงš The best way to get that set up is the init.d startup script, periodt ๐Ÿ’…

Now let's talk options, because these are the good part โœจ

  • [-p=]port-number โ€” sets the port number. The default is 3260 ๐Ÿ“
  • [-d] โ€” prints debugging info ๐Ÿ™ˆ
  • [-t=]transport-type โ€” sets the transport. The default is tcp ๐ŸŒˆ
  • [-f] โ€” forces a specific transport, which disables the fallback to tcp. Fallback is enabled by default, so this is you saying "no, I want this transport and nothing else" ๐Ÿ‘‘ It forces whatever transport you gave to the -t flag.
  • [-m] โ€” manual startup. This sets manual startup, and the default is automatic startup ๐Ÿซถ
  • [-l] โ€” login. It logs in to the newly discovered nodes. The default is false, so you have to ask for it ๐Ÿ”ฅ

๐Ÿงš AUTHOR ๐Ÿงš

Written by Dan Bar Dov ๐Ÿ’œ

๐Ÿฆ‹ REPORTING BUGS ๐Ÿฆ‹

If something's broken, report it to <erezzi.list@gmail.com> ๐Ÿ˜ญ

Copyright ยฉ Voltaire Ltd. 2006.


Okay that's the whole tea โ˜• Go be a main character with iscsi_discovery(8) and stay iconic, bestie ๐Ÿ’–โœจ