Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

FreeBSD port of iSCSI Enteprise Target

branch: master

Fix build on FreeBSD -CURRENT:

 - Include rwlock.h  This is needed by new VM code.
 - strchrnul() is available on FreeBSD >= 1000028, don't define if
   that's the case.
latest commit 37a4e0cb3d
Xin Li delphij authored July 01, 2013
Octocat-spinner-32 files Created ietbsd repository June 29, 2013
Octocat-spinner-32 trunk Fix build on FreeBSD -CURRENT: July 01, 2013
Octocat-spinner-32 .gitignore Use IET_PAGE_SIZE instead of PAGE_SIZE June 30, 2013
Octocat-spinner-32 Makefile change back portname to iet, messes up installation paths June 30, 2013
Octocat-spinner-32 README change back portname to iet, messes up installation paths June 30, 2013
Octocat-spinner-32 distinfo Created ietbsd repository June 29, 2013
Octocat-spinner-32 pkg-descr Created ietbsd repository June 29, 2013
Octocat-spinner-32 pkg-plist Created ietbsd repository June 29, 2013
README
This is the FreeBSD port of iSCSI Enterprise Target (IET

The aim of this repository is to maintain the port in sync with the trunk of the Linux target. Ports specific makefiles, intallations scripts are copied rom /usr/ports/net/iet/ as the aim is that this repository be merged back to ports from time to time with ease.

The documentation from the main site (http://iscsitarget.sourceforge.net/)
There are few differences for the FreeBSD implementation

1. The installation prefix for FreeBSD is /usr/local/etc
2. Fileio mode only works with files and not block devices

Issues related to this port can be submitted at https://github.com/quadstor/ietbsd/issues

Installation
Remember that the iet target can be installed from the ports tree (/usr/ports/net/iet).

Documentation related to IET itself can be got from the main site. The followign steps only describe building and installing the target on FreeBSD

git clone https://github.com/quadstor/ietbsd

cd ietbsd
make && make install

Edit /usr/local/etc/iet/ietd.conf and save

/usr/local/etc/rc.d/ietd onestart to start
/usr/local/etc/rc.d/ietd onestop to stop

Or to start/stop on system startup/shutdown 
ietd_enable=YES to /etc/rc.conf 
Something went wrong with that request. Please try again.