Many sets of instructions (e.g. Softlayer) provide this command for discovering a new iSCSI device:
iscsiadm –m discovery –t sendtargets –p 255.255.255.255
The man page for iscsiadm gives this command:
iscsiadm --mode discoverydb --type sendtargets --portal 255.255.255.255 --discover
Both give me this error:
Try `iscsiadm --help' for more information.
And this exit code, which corresponds to ISCSI_ERR_INVAL - invalid argument:
# echo $?
7
I'm using this version of iscsiadm:
# iscsiadm -V
iscsiadm version 6.2.0-873.13.el6
What syntax can I use to discover new iSCSI devices?