iSCSI target discovery...

Edward Tomasz Napierała trasz at FreeBSD.org
Mon Feb 9 10:34:48 UTC 2015


On 0130T1625, Karl Pielorz wrote:
> 
> Hi,
> 
> I'm using iSCSI under FreeBSD 10.1-R (ctladm/iscsid et'al).
> 
> Is there a command I can run that will dump a list of available targets on 
> a remote host / portal?
> 
> 'iscsictl -d' appears to do this - but also says 'After discovery is done, 
> sessions will be added for each discovered target...'
> 
> I just want something that will dump a list of available targets on a 
> remote host?
> 
> Sorry if it's obvious and I've missed it :(

Not really, no.  The "-d" option was designed to mimic behaviour of VMWare
or Windows, since that's what is usually needed.  The easiest way is to use
"iscsictl -Ad", then see "iscsictl -v" output, and just remove sessions you
don't want.



More information about the freebsd-scsi mailing list