lstgt command

filipvh

Cadet
Joined
Jun 3, 2012
Messages
5
I have set up iscsi through the GUI without any problems.
I wanted to use a script, intended for FreeBSD, but it failed because the command lstgt was not found. Is there a solution to this, preferably without modifying the script. Or am I missing some important diffs between BSD and NAS?

Running FreeNAS 11

Thx!
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
I have set up iscsi through the GUI without any problems.
I wanted to use a script, intended for FreeBSD, but it failed because the command lstgt was not found. Is there a solution to this, preferably without modifying the script. Or am I missing some important diffs between BSD and NAS?

Running FreeNAS 11

Thx!

FreeNAS uses ctl. Not net/istgt. You will need to rewrite your script to use appropriate commands using ctl.
 

mav@

iXsystems
iXsystems
Joined
Sep 29, 2011
Messages
1,428
It is completely different SCSI target implementation, used for iSCSI, Fibre Channel UMASS and other things.
 

rvyhmeister

Cadet
Joined
Jan 10, 2019
Messages
1
I'm facing the same problem using Proxmox... for the iSCSI provider they offer these options: Comstar, istgt, IET and LIO. BSD normally uses (used?) istgt, but now it is no longer present...

On the Proxmox forums, they have suggested that there is a solution out there somewhere, but I can't find it... any ideas? Thanks!
 
Top