Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
+ portability fix
+ make the maximum number of sessions handled by the target dynamic, and
default to 16, not 4
|
|
Changes since previous version:
+ include "compat.h" for a definition of the uuid_t structure - fixes
the build on Solaris (thanks to John Weekley for testing the fix).
This should also fix a problem in the bulk build.
+ rewrite the report_luns() function to something which is much easier
to read, and following Dan Carosone's and Matt Green's suggestions.
+ abstract the htobe64() function if it is available
+ tested only with little-endian initiators so far
+ bump version to 20060526
|
|
Adjust the data VPD returns, to work around a problem in the Cisco
initiator (used on Solaris 10 Update 1) - the initiator demands that a
UUID is returned, so give it one.
Add autoconf glue for that, and a compat uuid_create(3) and
uuid_to_string(3).
This still spews a lot of output via the target's syslog, but persevere,
since it does actually make the target work with the Solaris initiator:
solaris10# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1d0 <DEFAULT cyl 29728 alt 2 hd 64 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
1. c2t5d0 <DEFAULT cyl 96 alt 2 hd 64 sec 32>
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
Specify disk (enter its number): ^D
solaris10# df -k /mnt
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c2t5d0s0 91407 1041 81226 2% /mnt
solaris10# uname -a
SunOS solaris10 5.10 Generic_118844-26 i86pc i386 i86pc
solaris10#
|
|
Changes since previous version:
+ Some minor formatting cleanup in the header files.
+ Properly pad the names with spaces (with thanks to Bill Studenmund)
+ Use the official T10 vendor name, "NetBSD".
+ Minor cleanup in the INQUIRY command
+ Rather than just punting on the REPORT LUNs SCSI command, emulate it
properly. This change makes the target work with the Solaris initiator:
AVAILABLE DISK SELECTIONS:
0. c1d0 <DEFAULT cyl 29728 alt 2 hd 64 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
1. c2t5d0 <DEFAULT cyl 97 alt 2 hd 64 sec 32>
/iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
Specify disk (enter its number): 1
|
|
|
|
with those 16 bit values.
Fixes NetBSD iSCSI target when running on Solaris 9 on Sparc.
|
|
on big-endian Solaris platforms.
|
|
Differences include better tracing functionality, and some internal
changes for some functions returning boolean values.
The target now runs again on my big-endian UltrasparcIIi Solaris 9
machine.
|
|
|
|
to pick up portability mods.
Notable changes in this version:
+ now runs on FreeBSD 6.0 (thanks to F. Senault)
+ now runs on Solaris 9
+ Vital Product Data part of INQUIRY SCSI command handling added (to
appease the Solaris initiator, untested as yet, due to Solaris 10
update 1/06 not running on my Ultrasparc hardware).
|
|
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
|
|
Differences from previous version:
+ when looking for the target name supplied by the initiator during full-phase
login, break out of the loop immediately a match is found.
+ only syslog information if it's available
+ Present multiple targets properly
+ Check that the initiator address is allowed to discover targets.
+ Log a LOG_INFO error if an initiator attempts to discover targets it
shouldn't be.
|
|
20060209. This is taken from the NetBSD src/dist/iscsi tree.
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.
This package will replace the earlier intel-iscsi package, on which it is
based.
|