Date: Mon, 9 Feb 2015 11:34:44 +0100 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= <trasz@FreeBSD.org> To: Karl Pielorz <kpielorz_lst@tdx.co.uk> Cc: freebsd-scsi@freebsd.org Subject: Re: iSCSI target discovery... Message-ID: <20150209103444.GB2170@brick.home> In-Reply-To: <A75F2F8C1C1A300D5BBAAD1A@Karls-Mac-mini.local> References: <A75F2F8C1C1A300D5BBAAD1A@Karls-Mac-mini.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150209103444.GB2170>