NOTICE: This package has been removed from pkgsrc

./devel/netbsd-iscsi-target, NetBSDs iSCSI target (per iSCSI RFC 3720)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 20080207, Package name: netbsd-iscsi-target-20080207, Maintainer: agc

iSCSI is an IETF standard (RFC 3720) for remote access to block-level
storage. It can be thought of as similar to NFS, except that an NFS
server exports files; the iSCSI target exports blocks to the iSCSI
initiators, which are the clients.

To set up the target, you need to edit the /etc/iscsi/targets file.
It has a certain layout, to provide a means of (a) mirroring and (b)
combining multiple areas to present one large contiguous area of
storage. This can be multiply-layered.


Master sites: (Expand)

SHA1: afe6ca2fdf46ce6dfed341dfd05aeb597584ae0f
RMD160: 62417a6c7bebf95257054f96990a7009f515c064
Filesize: 243.757 KB

Version history: (Expand)


CVS history: (Expand)


   2009-06-14 19:49:18 by Joerg Sonnenberger | Files touched by this commit (454)
Log message:
Remove @dirrm entries from PLISTs
   2009-05-21 01:57:49 by Zafer Aydogan | Files touched by this commit (1) | Package updated
Log message:
update master site. (agc's website is always unreachable.)
   2008-02-28 12:58:49 by Roland Illig | Files touched by this commit (36)
Log message:
Replaced the deprecated INSTALLATION_DIRS_FROM_PLIST with AUTO_MKDIRS,
to shut up the pkglint warnings.
   2008-02-07 20:31:51 by Alistair G. Crooks | Files touched by this commit (4)
Log message:
Update the NetBSD iSCSI target and initiator packages to 20080207.

Changes are mainly portability ones, to allow the initiator to build
properly on non-NetBSD platforms. The first such platform is
FreeBSD-6.3:

	# ./iscsifs -u agc -D -h sys3
	Targets available from host sys3:
	iqn.1994-04.org.netbsd.iscsi-target:target0 at 10.4.0.29:3260,1
	iqn.1994-04.org.netbsd.iscsi-target:target2 at 10.4.0.29:3260,1
	# uname -srm
	FreeBSD 6.3-RELEASE i386
	#
   2007-12-21 14:26:43 by Alistair G. Crooks | Files touched by this commit (4)
Log message:
Update the NetBSD iSCSI initiator and target to version 20071221.

Changes since previous version:

+ Incorporate a minor build change for platforms without strlcat(3).

+ Add the new "size" keyword to the extent definition when presenting \ 
targets:

When defining extents, the new keyword "size" can be used in the place
of the physical size of the regular file. This is useful for presenting
ISO images to initiators, as in the following:

        In /etc/iscsi/targets:
        # present an ISO image
        extent2         /usr/sets/20071214/release/iso/i386cd.iso 0 size
        target2         ro      extent2         any

        % priv /etc/rc.d/iscsi_target restart
        Stopping iscsi_target.
        Starting iscsi_target.
        Reading configuration from `/etc/iscsi/targets'
        target0:rw:any
                extent0:/tmp/iscsi-target0:0:104857600
        target1:rw:any
                extent1:/tmp/iscsi-target1:0:52428800
        target2:ro:any
                extent2:/usr/sets/20071214/release/iso/i386cd.iso:0:354906112
        DISK: 1 logical unit (204800 blocks, 512 bytes/block), type iscsi fs
        DISK: LUN 0: 100 MB disk storage for "target0"
        DISK: 1 logical unit (102400 blocks, 512 bytes/block), type iscsi fs
        DISK: LUN 0: 50 MB disk storage for "target1"
        DISK: 1 logical unit (693176 blocks, 512 bytes/block), type iscsi fs
        DISK: LUN 0: 338 MB readonly disk storage for "target2"
        TARGET: TargetName is iqn.1994-04.org.netbsd.iscsi-target
        %

Please note that the NetBSD initiator can mount (via vnd) an iSCSI target
presented in this manner. The Microsoft iSCSI initiator sees the read-only
target as a normal SCSI disk, and fails (not surprisingly) to initialize
the disk. It's now possible to make ISO images available via iSCSI, and
NetBSD will DTRT.

In read-only targets, don't attempt to seek to the last block and rewrite
it, it may not work.

Don't assign 8 MB of unused space for use in each iSCSI disk - just use
1MB, which will be enough for the scatter gather iovecs.

Get rid of some dead code.
   2007-12-18 12:30:09 by Alistair G. Crooks | Files touched by this commit (3)
Log message:
Update NetBSD iSCSI target to version 20071218 - incorporate various
build fixes in the target.
   2007-12-17 13:26:27 by Alistair G. Crooks | Files touched by this commit (2)
Log message:
make this compile properly by removing a reference to a non-existing file,
and by pre-defining HAVE_CONFIG_H
   2007-12-10 21:41:52 by Alistair G. Crooks | Files touched by this commit (4)
Log message:
Update the NetBSD iSCSI target and initiator packages to 20071209.

Differences from the previous version:

	Module Name:    src
	Committed By:   agc
	Date:           Sun Dec  9 09:09:03 UTC 2007

	Removed Files:
		src/dist/iscsi/src: auths iscsiconfig.c ktarget.c ktest.c mknodes.c
		    mount_iscsi.c targets

	Log message:
	Get rid of some files which aren't used.

	To generate a diff of this commit:
	cvs rdiff -r1.1.1.1 -r0 src/dist/iscsi/src/auths src/dist/iscsi/src/ktest.c \
	    src/dist/iscsi/src/mknodes.c src/dist/iscsi/src/targets
	cvs rdiff -r1.4 -r0 src/dist/iscsi/src/iscsiconfig.c
	cvs rdiff -r1.3 -r0 src/dist/iscsi/src/ktarget.c \
	    src/dist/iscsi/src/mount_iscsi.c

	Module Name:    src
	Committed By:   agc
	Date:           Sun Dec  9 09:16:42 UTC 2007

	Modified Files:
		src/dist/iscsi/include: storage.h
		src/dist/iscsi/src: storage.c targets.5
		src/dist/iscsi/src: target.c

	Log message:
	Add support in the target for specifying the target IQN (iSCSI Qualified
	Name) in the targets configuration file.

	Now an entry of the form:
	target0=iqn.binky rw extent0 any

	will mean that target0 gets presented with the iqn of "iqn.binky".
	This can be useful for shorter aliases for IQNs. With thanks to Peter
	Eisch for the idea.

	Note that the target's base IQN can still be set with the -t parameter
	to iscsi-target.

	To generate a diff of this commit:
	cvs rdiff -r1.4 -r1.5 src/dist/iscsi/include/storage.h
	cvs rdiff -r1.8 -r1.9 src/dist/iscsi/src/storage.c
	cvs rdiff -r1.4 -r1.5 src/dist/iscsi/src/targets.5
	cvs rdiff -r1.21 -r1.22 src/dist/iscsi/src/target.c

	Module Name:    src
	Committed By:   agc
	Date:           Sun Dec  9 09:21:07 UTC 2007

	Modified Files:
		src/dist/iscsi/include: config.h config.h.in
		src/dist/iscsi/src: Makefile.in configure configure.ac disk.c
		    parameters.c
	Added Files:
		src/dist/iscsi/include: iscsi-md5.h
		src/dist/iscsi/src: md5c.c md5hl.c
	Removed Files:
		src/dist/iscsi/include: md5.h
		src/dist/iscsi/src: md5.c

	Log message:
	Move the iSCSI code over to use the endian neutral md5 code,
	originally from Poul-Henning Kamp, as found in pkgsrc/pkgtools/digest.
	This should address some of the MD5 problems that are being seen on
	some hosts at login time.

	Re-run autoconf, autoheader and configure.

	To generate a diff of this commit:
	cvs rdiff -r1.21 -r1.22 src/dist/iscsi/include/config.h
	cvs rdiff -r1.10 -r1.11 src/dist/iscsi/include/config.h.in
	cvs rdiff -r0 -r1.1 src/dist/iscsi/include/iscsi-md5.h
	cvs rdiff -r1.2 -r0 src/dist/iscsi/include/md5.h
	cvs rdiff -r1.10 -r1.11 src/dist/iscsi/src/Makefile.in \
	    src/dist/iscsi/src/parameters.c
	cvs rdiff -r1.24 -r1.25 src/dist/iscsi/src/configure \
	    src/dist/iscsi/src/configure.ac
	cvs rdiff -r1.35 -r1.36 src/dist/iscsi/src/disk.c
	cvs rdiff -r1.3 -r0 src/dist/iscsi/src/md5.c
	cvs rdiff -r0 -r1.1 src/dist/iscsi/src/md5c.c src/dist/iscsi/src/md5hl.c

	Module Name:    src
	Committed By:   agc
	Date:           Sun Dec  9 09:33:35 UTC 2007

	Modified Files:
		src/dist/iscsi/include: initiator.h

	Log message:
	Add prototypes for initiator_get_targets() and initiator_set_target_name().

	To generate a diff of this commit:
	cvs rdiff -r1.6 -r1.7 src/dist/iscsi/include/initiator.h

	Module Name:    src
	Committed By:   agc
	Date:           Sun Dec  9 09:38:49 UTC 2007

	Modified Files:
		src/dist/iscsi/include: config.h
		src/dist/iscsi/src: configure configure.ac

	Log message:
	Update to version 20071209, to include new initiator "discovery only"
	option, the iqn alias configuration option, and the different md5
	routines which are being used.

	To generate a diff of this commit:
	cvs rdiff -r1.22 -r1.23 src/dist/iscsi/include/config.h
	cvs rdiff -r1.25 -r1.26 src/dist/iscsi/src/configure \
	    src/dist/iscsi/src/configure.ac